i want to develop an application which deletes rows from a table view when somone shakes the iPhone,can someone suggest me how to proceed
Asked
Active
Viewed 175 times
0
-
3Step 1: learn Objective C, Step 2.... – Mitch Wheat May 31 '10 at 11:16
-
that i know my question is how to proceed – Sid May 31 '10 at 11:42
-
Look at the tutorials from apple showing how to build table based applications. Your question is way too general and you can solve it yourself by a little effort – willcodejavaforfood May 31 '10 at 12:45
-
1possible 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) – Brad Larson May 31 '10 at 15:10
1 Answers
0
Import QuartzCore/QuartzCore.h framework and call the following methods
- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent*)event {
}
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent*)event {
}
- (void)motionCancelled:(UIEventSubtype)motion withEvent:(UIEvent*)event {
}

Vaibhav Saran
- 12,848
- 3
- 65
- 75