views:

78

answers:

1

hello all,

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

A: 

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