2010-05-31 45 views
0

我希望开发出从表格视图中删除行的应用程序时,有人为摇动iPhone,可以有人建议我如何进行基于摇应用

+3

第1步:学习Objective C,第2步...... – 2010-05-31 11:16:35

+0

我知道我的问题是如何继续 – Sid 2010-05-31 11:42:57

+0

看看苹果的教程,展示如何构建基于表格的应用程序。你的问题太普遍了,你可以通过一点努力自己解决它 – willcodejavaforfood 2010-05-31 12:45:01

回答

0

导入QuartzCore/QuartzCore.h框架,并调用以下方法

- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent*)event { 

} 

- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent*)event { 

} 

- (void)motionCancelled:(UIEventSubtype)motion withEvent:(UIEvent*)event { 

}