How can I detect if an iPhone is rotating while being face up in a table?
Posted
by OscarMk
on Stack Overflow
See other posts from Stack Overflow
or by OscarMk
Published on 2010-03-16T23:15:53Z
Indexed on
2010/03/16
23:21 UTC
Read the original article
Hit count: 294
Hello,
Is there a way to detect if an iphone lying down in a table face up is rotating?. I do realize that this kind of movement is not reported by the accelerometer and neither is it reported to the - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation method.
Is there a way to detect angle variations for the phone rotating this way?. Thank you.
© Stack Overflow or respective owner