Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chhoda

macrumors 6502
Original poster
is there any example pointing "how to measure angle to scroll" an object [say a view] placed in the buttom of a main window.

like i need a ball to scroll to right if i bend the phone to right and left otherwise.

thanks in advance
 
Chapter 15 of the book "Beginning iPhone 3 Development" by Dave Mark and Jeff LaMarche has a rolling marble program that would probably suit your needs. The website for the book is www.iphonedevbook.com.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.