开发者

Shake based application

开发者 https://www.devze.com 2023-01-01 09:39 出处:网络
i want to develop an application which deletes rows from a table view when somone shakes开发者_高级运维 the iPhone,can someone suggest me how to proceedImport QuartzCore/QuartzCore.h framework and cal

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

精彩评论

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