You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have also discovered that if you have let's say a footer added to the UITableView (one common example is adding a blank UIView inside viewDidLoad (e.g. tableView.tableFooterView = UIView() to the table view's footer view in order to remove the separators if there are only 1 or 2 rows in the table view) which has been added programmatically in viewDidLoad for example, for some reason, the footer view is removed and set to nil.
This is not the case if you have added it via Storyboard.
Could you please take a look?
Cheers,
Sasho
The text was updated successfully, but these errors were encountered:
sasojadrovski
changed the title
UITableView header/footer are not preserved if set programmatically
UITableView header/footer views are not preserved if set programmatically
Aug 23, 2017
Hey @HamzaGhazouani,
I have also discovered that if you have let's say a footer added to the
UITableView
(one common example is adding a blankUIView
insideviewDidLoad
(e.g.tableView.tableFooterView = UIView()
to the table view's footer view in order to remove the separators if there are only 1 or 2 rows in the table view) which has been added programmatically inviewDidLoad
for example, for some reason, the footer view is removed and set to nil.This is not the case if you have added it via Storyboard.
Could you please take a look?
Cheers,
Sasho
The text was updated successfully, but these errors were encountered: