开发者

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 {

}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜