Questions tagged [uitableviewsectionheader]
218 questions
4
votes
2 answers
iOS add button to right side of UITableViewHeaderFooterView
I have a table view and would like one section's header to have a right aligned button. Ideally I could add the button to UITableViewHeaderFooterView so as to get its header font type, size and color. In my tableView(tableView: UITableView,…

Steve Kuo
- 61,876
- 75
- 195
- 257
4
votes
3 answers
Swift - Header in UITableView blocks button interaction
In my UITableView I want to have an option to click a button which have a fixed posision (see attached picture). But anything that is in front or behind the UITableView's section headers is blocked from interaction, it does not register the button…

Torkil Vatne
- 87
- 7
3
votes
0 answers
How to make dynamic Uitableview Header height
I can't figure out why I can't get my section header heights to adjust based on the amount of text.
Most information I've found on this give the following steps on how to make cell row height adjust according to the amount of text:
Add label to…

DrewDog
- 35
- 1
- 9
3
votes
0 answers
How to apply filter based on multiple selected rows in UITableView using swift 3
Hello all m having multisectioned tableview design like
want to apply filter based on the selected rows in which all the selection is in OR condition except the searchcriteria section(this section is mandatory),now what i want to achieve is want to…

deltami
- 303
- 2
- 17
3
votes
2 answers
Detect Change in UISegmentedControl inside UITableView HeaderView
I am trying to control my UITableView based on the selectedSegmentIndex of a UISegmentedControl inside my UITableView header. Essentially, I want this UISegmentedControl to work like Twitter's 'Me' tab. I have the UISegmentedControl inside a…

Dan Levy
- 3,931
- 4
- 28
- 48
3
votes
2 answers
How to create sections along with headers on the left of cells with UICollectionView?
I am not sure, if I composed my question fairly well. If you consider to improve it, do it:) but shortly this is what I mean:
Every orange box is the header of new section box (width, and height is static).
This will be linked to fetched results…

Bartłomiej Semańczyk
- 59,234
- 49
- 233
- 358
3
votes
2 answers
UITableview refreshing cells scrolling under section header
I am using UzysCircularProgressPullToRefresh in order to refresh my tableview.
My UITableView have 1 static section with a title and I want it always fixed at the top of the table(That's why I don't want to use UITableViewStyleGrouped).
When the…

Iphone User
- 1,930
- 2
- 17
- 26
2
votes
1 answer
Pros/cons of implementing a particular set of delegate methods versus not implementing them and the effects of implementing one but not another?
In regards to UITableView & UICollectionView & their respective protocols, UITableViewDataSource & UITableViewDelegate + UICollectionViewDelegate & UICollectionViewDataSource -- are there any pros and cons to implementing one method, but not the…
user19047841
2
votes
2 answers
Transparent section header?
I'm creating a transparent List with transparent rows and section headers.
But as soon as the rows slide under the section header, it automatically features a background blur. I understand the sentiment, but would like to opt out.
Did anyone manage…

Geri Borbás
- 15,810
- 18
- 109
- 172
2
votes
1 answer
How to separate cells into sections with custom header?
What I'm trying to do is separate my cells into sections by their Brand
what Ive been able to do so far is pass data of selected items from HomeVC to populate the cells of the CartVC
I am trying to separate the sections by brand, the brand data is a…

Evelyn
- 186
- 1
- 4
- 25
2
votes
1 answer
How to Add Bottom Safe Areal to Static UITableviewController ? Not in UITableview
I used Static UITableViewController For Registration Form but In iPhone X, XR, i want to ad Safe area but it's not affecting in Screen, Any Help would be appreciate.
i added also footerView but below footer view space is remaining as it is as shown…

princ___y
- 1,089
- 1
- 9
- 27
2
votes
1 answer
How to remove data from array on click of close button
I have an array I need to add and remove cell data on click of "close" which is UIButton in header section
I am looping the array and getting row and for section I have used static data and appending in indexPaths then after…

Sanjay Mishra
- 672
- 7
- 17
2
votes
0 answers
Prevent UITableView header from being replaced by next header?
What is the best way to prevent what you see in the first picture from happening, so that it does look like in the second picture, where Header 2 stays right beneath Header 1.
The reason I wanna do that is because of a "UI-Glitch" when animating…

Tysac
- 257
- 2
- 11
2
votes
0 answers
iOS 11 UITableView bug with automatic sectionHeaderHeight can cause glitchy animations and leave broken sections on top of tableview
Whilst developing my latest app I would occasionally experience a rendering problem with my tableview where it appeared that my tableview cells weren't given enough space to fit in each section.
I struggled to reliably reproduce the issue until…

jimbobuk
- 1,211
- 12
- 25
2
votes
2 answers
How to properly set a dynamic header view in table view?
I need the header view for a section to be a UIImageView and a UILabel below it. The height for the image view is not going to change once created, but the text in the label may change as a result of some user actions. I need to update the height…

AppsDev
- 12,319
- 23
- 93
- 186