We use the iphones Accelerometer to move an image on the screen. First step is to NSLog the accelerometer values out to the console, then to use those values to move a UIImage View around the screen.
Nice tutorial! I am wondering how could we do the same thing but with more object on the screen. ie. populate the view with 100 balls and when we move the iPhone, all balls would move... I think the trick is how to populate the ball in the view each one in one different position, right ? cheers mate!
Very cool and objective tutorial, congratulations, I liked a lot! =D
jairabu 2 months ago
Nice tutorial! I am wondering how could we do the same thing but with more object on the screen. ie. populate the view with 100 balls and when we move the iPhone, all balls would move... I think the trick is how to populate the ball in the view each one in one different position, right ? cheers mate!
2fast4YouBR 7 months ago
you are damn good ! please keep posting more
dnanetwork 9 months ago
Wow again, this is great! ty. I am learning so much from you.
crmjg 11 months ago