Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UITableView header/footer views are not preserved if set programmatically #8

Closed
sasojadrovski opened this issue Aug 23, 2017 · 3 comments

Comments

@sasojadrovski
Copy link

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 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

@sasojadrovski 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
@HamzaGhazouani
Copy link
Owner

Hey @sasojadrovski, could you please confirm that is working fine now? thanks a lot

@sasojadrovski
Copy link
Author

Hey @HamzaGhazouani,

Just checked it, looks good! Good job and thank you once again!

Cheers!

@HamzaGhazouani
Copy link
Owner

You are welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants