Return to Snippet

Revision: 40863
at February 9, 2011 02:15 by BenClayton


Initial Code
[UIDevice currentDevice].orientation

Initial URL


Initial Description
when the orientation is locked, will return the locked orientation only.

Initial Title
iPhone: Get current orientation of the device

Initial Tags


Initial Language
Objective C