0

I want to know, how to implement shake to refresh feature. For example, facebook app, they dont have refresh button, on shaking the phone it refreshes the data.

i want to include it in my app. but i dont know what is the name for this feature and how to implement it.

can any one help me with this.

thanks

nbojja
  • 1,665
  • 7
  • 28
  • 38
  • possible duplicate of [How do I detect when someone shakes an iPhone?](http://stackoverflow.com/questions/150446/how-do-i-detect-when-someone-shakes-an-iphone) – Zhaph - Ben Duguid May 12 '14 at 15:29
  • possible duplicate of [iPhone :implement shake gesture](http://stackoverflow.com/questions/5244227/iphone-implement-shake-gesture) – Parth Bhatt May 14 '14 at 07:23

1 Answers1

8

A quick search reveals this question:

How do I detect when someone shakes an iPhone?

Then when you detect the shake you perform your "refresh" method;

Community
  • 1
  • 1
Corey Floyd
  • 25,929
  • 31
  • 126
  • 154