Add a hidden view above a UITableView that is only displayed when TableView is scrolled up
Posted
by
noncogitas
on Stack Overflow
See other posts from Stack Overflow
or by noncogitas
Published on 2012-06-18T03:14:44Z
Indexed on
2012/06/18
3:15 UTC
Read the original article
Hit count: 138
Goal/Situation: I currently have a UIView in the TableView header. I am trying to add another UIView (which contains two Buttons and a few TextFields) that will sit above the TableView header. I would like the view to be displayed when the user scrolls up past the header (a la "pull to refresh"), and go away when the user presses a "done" button on the view. My two questions: 1) How do I add a view above the tableview header? 2) How do I display said view when a user has scrolled up past the header? 3) How do I dismiss said view when the user has pressed a button on said view?
© Stack Overflow or respective owner