Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Save and detect a particular shake gesture pattern iphone

In my project i have implemented the shake gesture in iphone. I want to save a particular shake pattern(say, shake like the word "S") from user and i need to invoke event only on the particular pattern. Is this possible in iphone ? If possible, can anyone guide me with some reference please ??

like image 624
Arun Kumar Munusamy Avatar asked Jan 15 '13 07:01

Arun Kumar Munusamy


People also ask

What is a shake gesture?

Shake your Android phone or tap on the GPS icon to see time- or location-relevant cards, or both, in the SAP Mobile Cards card deck. The shake-gesture feature detects a timestamp (date and time), an address (location), or both, on cards in a card deck.

How do I make assistive touch faster?

Go to Settings > General > Accessibility > AssistiveTouch, or use the Accessibility Shortcut. See Accessibility Shortcut. Adjust the tracking speed (with an accessory attached). Go to Settings > General > Accessibility > AssistiveTouch > Touch speed.


1 Answers

Go through Core motion programming guide and Core motion framework reference. and understand the iPhone device motion apis, you will able to implement your custom motion event.

like image 148
pradeepa Avatar answered Sep 22 '22 00:09

pradeepa