The deals dealer
The deals dealer

Reputation: 1016

How can I move image with the help of accelerometer iphone xcode?

I am working on xcode4.1 not in coca 2d. I want to handle image through accelerometer. How can I do this?

Upvotes: 0

Views: 619

Answers (1)

Alex Terente
Alex Terente

Reputation: 12036

Use an UIImageView to display it. Use the center property to move it on the screen.

Use the UIAccelerometerDelegate to get the move of the phone.

Upvotes: 1

Related Questions