Questions tagged [sectionheader]
101 questions
0
votes
1 answer
Punching a hole through TableView ViewForSectionHeader and accessing the view underneath
Alright boys and girls I asked this question before but i couldn't explain it well. And i feel i have a better grasp of the problem now
I have a tableview with 1 section header and 1 row per section. The header has a large image view and the cell…

Maxwell Bo Blessen
- 173
- 2
- 10
0
votes
3 answers
How can i change the zPosition of a tableView section header?
I have a tableView where when I call viewForHeaderInSection before I return the cell. I have this code:
headerCell.layer.zPosition = headerCell.layer.zPosition-1
Now this works in the sense that the cells scroll over the section header which is…

Maxwell Bo Blessen
- 173
- 2
- 10
0
votes
2 answers
can I fix section header view not in the top of UITableView
We know that a plain UITableView will fix its section header view in the top of it. Can we make the section header view not to float in the top of its UITableView, but fix in another position, such as 100 points away from the top of its…

Michael
- 415
- 6
- 16
0
votes
1 answer
UITableView section header clickable Delegate not Call
I am new to ios development. I am create app in Storyboard, Initially UItableviewController with one prototype cells, with button and labels. The button has IBAction method in it UItableViewCell Class, the class has Delegate to…

Mohamed Nazir
- 105
- 1
- 11
0
votes
2 answers
headerViewForSection: returns nil if Header View or section is not visible on the iphone
I am making use of a UIButton that I added to header view in checking the numberOfRowsInSection: method and on the button state I am checking if there are rows present in that section or not. But my app crashes when the
[self.tableView…

tech savvy
- 1,417
- 4
- 21
- 42
0
votes
3 answers
how to change a particular header section height of uitableview dynamically in ios
I have an UITableView where in the header part there are multiple headerSection available. The default height is 56. Now I want to change a particular headerSection height to 40 whenever I click on the particular section's button. the click triggers…

Poles
- 3,585
- 9
- 43
- 91
0
votes
1 answer
Change color of the area below the last section of a uitableview
I have a UITableView. I figured out how to change the background color for the section headers. However, it also changes the bottom area that contains "no section/rows" to the same color. I don't want this.
Is there anyway I can set the color of…

Sandy D.
- 3,166
- 1
- 20
- 31
0
votes
2 answers
How can properties be updated in custom Section Header that was implemented via the storyboard?
I have a custom section header view class implemented using the storyboard. I can set the various labels and views as required when the view is loaded within the viewForHeaderInSection method.
static NSString *CellIdentifier =…

Taylermade
- 11
- 3
0
votes
1 answer
Disable bounce for sectionHeaderView only
I want to make following:
When I drag cells down so that make bounce effect, sectionHeaderView is dragging with first cell. And free space appears between sectionHeader and top edge of tableView. (https://i.stack.imgur.com/kavzj.png)
But I want…

Andrey Vasilev
- 1
- 1
0
votes
1 answer
Do/can I add ListView section headers in the GetView method?
In Xamarin, I have a ListView adapter with the following GetView method:
public override View GetView(int position, View convertView, ViewGroup parent)
{
var item = items[position];
View view = convertView;
if (view == null)
view…

user3548779
- 321
- 2
- 8
- 19
0
votes
0 answers
IOS 7 navigation bar with section Header BUG (space between navbar and Header Section)
In my iOS project i want to connect UITableView with Header Section and UINavigation Bar hidden on scrolling - and i have a bug: on a scrolling appear spacing between Navigation Bar and UITableView. But if i don't use Section Header all works…

user3327148
- 1
- 1
- 6
0
votes
1 answer
ListView with date as section headers position varies onScroll
Im trying to load custom callLogs in a listView based on date as section header.In ListAdapter i compare each date with the previous date and set SectionHeaderLayout Visible/Invisible. When the ListView has been loaded the section header are…

Allen
- 166
- 11
0
votes
1 answer
UITableView - Delayed update when using sections
I've been searching for a few days, and have continued to learn from reading the apple docs and various tutorials, but there's a problem which I can't seem to get a handle on.
I have a simple app that keeps track of projects, with a single Core Data…

vapul
- 77
- 8
0
votes
0 answers
Can we set a UIViewControllers view as a section Headerview in a UITableViewController?
Can we set a UIViewControllers view as a section Headerview in a UITableViewController.
Like,
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
CellHeader *cellHeader = [[CellHeader alloc]…

IOS Learner
- 75
- 4
0
votes
1 answer
Access UITableView section header label
is there a way to customize the section header label without drawing my own view first?
I just want to change the alignment of the label.

Constantin Jacob
- 488
- 1
- 8
- 21