6

What is the easiest way to implement "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

Akbar Khan
  • 388
  • 1
  • 3
  • 12
  • Possible duplicate of [iPhone Pull Down Refresh like Tweetie](http://stackoverflow.com/questions/1634739/iphone-pull-down-refresh-like-tweetie) – Gert Arnold Feb 20 '16 at 20:25

3 Answers3

12

Look at the following projects on github:

http://github.com/leah/PullToRefresh

http://github.com/enormego/EGOTableViewPullRefresh

Sharjeel Aziz
  • 8,495
  • 5
  • 38
  • 37
4

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

Community
  • 1
  • 1
JWD
  • 12,188
  • 3
  • 34
  • 32
1

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

Community
  • 1
  • 1
betzerra
  • 839
  • 1
  • 8
  • 17