Several apps including the Facebook App shows an update-cell when the table is moved to the top. How is this implemented?
There are many different solutions here's one PullToRefresh .
The problem I noticed (with this one at least) is that it is expected that you are subclassing UITableViewController
which is not always the case
这可能会做你需要的, https://github.com/chpwn/PullToRefreshView ,它很容易实现
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.