Shake based application
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
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 {
}
精彩评论