tags:

views:

1767

answers:

1

Hi All,

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

+7  A: 

A quick search reveals this question:

http://stackoverflow.com/questions/150446/how-do-i-detect-when-someone-shakes-an-iphone

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

Corey Floyd
Thanks a lot ..
nbojja