开发者

Cocoa Touch - Moving a image using accelerometer

开发者 https://www.devze.com 2023-01-09 13:15 出处:网络
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?

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

精彩评论

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