简体   繁体   中英

Show update status cell above UITableView?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM