开发者

Cocoa Touch - Moving a image using accelerometer

How can I change this code to add a UIImage and then move it using the accelerometer? Then how do you detect if it collides with anoth开发者_StackOverflow社区er image?

Thanks!


Did you mean to include some code? There's none shown.

http://www.switchonthecode.com/tutorials/iphone-tutorial-reading-the-accelerometer may be helpful.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜