Questions tagged [tablefooterview]

36 questions
16
votes
6 answers

UITableView tableFooterView shows at the top of the UITableView - wrong

I have created a very simple test case to reproduce this issue. I am trying to set a footer view programmatically to a tableview. Please note that I am referring to the footer at the very bottom of the tableview - NOT the section footer (most stack…
5
votes
3 answers

tableFooterView not aligning itself properly at the bottom of the table

I'm experiencing a strange behavior with UITableView. I've setup a UIViewController with a UITableView. UITableView contains a tableHeaderView, tableFooterView, a section footer view, and a couple of UITableViewCells with dynamic heights. The…
Mustafa
  • 20,504
  • 42
  • 146
  • 209
4
votes
3 answers

How to keep tableFooterView always on bottom of UITableView

I have a UITableView with a variable amount of sections. Each section has a variable amount of cells and every section has a header and a footer. My UITableView also has a tableFooterView which I want to keep on the bottom of the screen at all…
PennyWise
  • 595
  • 2
  • 12
  • 37
3
votes
2 answers

Section header view glitch in plain uitableview

I have a UITableView of type plain table view with two sections and a dynamic number of rows. Also I am returning a UIView for the section header. Everything works perfect except when the table reloads. The section header position moves to a random…
Anand Prem
  • 397
  • 5
  • 15
3
votes
1 answer

Very strange UITableView tableFooterView behavior

I'm trying to add a simple table-wide footer view from a nib to my UITableView, but for some reason the footer is showing up always one row too high, and the buttons are not responding at all to taps (in fact the touch actually goes right through to…
devios1
  • 36,899
  • 45
  • 162
  • 260
2
votes
3 answers

How to display custom footer view in table?

I have created a UIview class Xib to display it in footer view of my table. import UIKit /// This class is to display footer view in a settings table view class FooterView: UIView { override func awakeFromNib() { super.awakeFromNib() …
Krutika Sonawala
  • 1,065
  • 1
  • 12
  • 30
2
votes
1 answer

UITableView reloadSections does not trigger viewForFooterInSection?

I'm trying to build an app similar to iOS native Reminders app. Where there's a list of items with header and footer. Each cell contains an UITextView that will dynamic change cell height when user typing. Footer view contains the same cell view,…
Joe L
  • 83
  • 1
  • 2
  • 7
2
votes
2 answers

Dynamically setting and resizing label in UITableView Footer

In my app, I'm updating the footer text of my table view dynamically when I select a cell. Unfortunately the way I'm doing so seems to alter the frame of the UILabel within my UIView. For example, when I tap a cell, the width of my label becomes…
tvalent2
  • 4,959
  • 10
  • 45
  • 87
2
votes
4 answers

How to fix a button at the bottom of the tableview?

In my App i want to fix a button at the bottom of the table view. Here is my Initial Screen, Button created at the footer section -(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section { if(tableView == educateTbl)…
User558
  • 1,165
  • 1
  • 13
  • 37
2
votes
3 answers

Eliminate uitableview tablefooterview separator

I have a uitableview with a tablefooterview. I would like use cell separators within the tableview but would like to get rid of the full screen width separator placed by default between the tableview and the tablefooterview. I have tried if ([cell…
scribbler2309
  • 153
  • 1
  • 11
1
vote
1 answer

Custom footerview not responding to my tap gesture recognizer label

So I've been at this for a few days and no luck. I have a a custom UIView that's made from a xib file and I am adding it to my footerView. The view is displayed but it is not responding to the gesture recognizer that I added to a label in the…
Simon McNeil
  • 293
  • 1
  • 13
1
vote
0 answers

Pressing tableFooterView calls tableView(_:didSelectRowAt:)

I am working on a UITableView with a custom row (single row), that I load from a separate xib file. UITableView also has a sticky footer view. Everything is working fine except that when I tap on the footer view, the UITableView's delegate method…
1
vote
1 answer

UIButton in tableFooterView not registering touches

I have a UITableView with a custom footer set to the tableFooterView (not a sectionFooter). I do this like so: override init(frame: CGRect) { super.init(frame: frame) setupViews() MyTableView.tableFooterView = tableFooter …
PennyWise
  • 595
  • 2
  • 12
  • 37
1
vote
0 answers

How to create auto adjustable tableview whose corners are rounded

I would like to have a tableview that auto-grows/reduces depending on number of rows and again have the corners rounded it seems very complicated. for example I can have a tableview height fixed and set footer null and background color clear then…
Shiva
  • 545
  • 1
  • 10
  • 41
1
vote
4 answers

UITableView section footer not hiding

I have created a UITableView using the Interface Builder I have a section footer space there, I have designed my custom view as the section footer. But I want the section footer to be hidden initially and only load it after a service call. I have…
1
2 3