开发者

UITableView "Scroll down to update"

What is the easiest way to im开发者_如何学Goplement "Scroll down to update" functionality like in facebook "News feed" when you scroll down the news from top you see an update indicator and it update the news accordingly.

Thanks in advance


Look at the following projects on github:

http://github.com/leah/PullToRefresh

http://github.com/enormego/EGOTableViewPullRefresh


This feature became popular in Tweetie application, that has since been bought and re-branded as the official Twitter iPhone application.

I think you will find what you are looking for here...

stackoverflow - iPhone Pull Down Refresh like Tweetie

github - enormego / EGOTableViewPullRefresh

github - UITableViewController subclass


If you're targeting to iOS 6 devices, you can use UIRefreshControl. Here's an example of how to use it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜