I want to create an application using shaking. That is when i shake my IPad, then the icon will be move automatically depends upon shaking. If anybody about know about it, how to create these type of applications, please help me.
Thanks.
I want to create an application using shaking. That is when i shake my IPad, then the icon will be move automatically depends upon shaking. If anybody about know about it, how to create these type of applications, please help me.
Thanks.
You should use accelerometer datas.
Take a look at CoreMotion API http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CoreMotion_Reference/_index.html
It's an easy way to use acce / gyro & co datas :-)