Is there a way / method of know if or when a table’s header of footer will be displayed? Much like the tableView:willDisplayCell:forRowAtIndexPath: method for cells, but for section headers/footers.
Is there a way / method of know if or when a table’s header
Share
I would recomment you to use following
UITableViewDelegate‘s following methods:There are a lot more convenient methods in there, have a look!
About knowing when the view will appear:
You can return the desired view in
viewForHeader/FooterInSecion. That view’s controller has it’s ownviewWillAppearandviewDidAppearin which you can do further code execution.