Your Ad Here

Posted By

BenClayton on 02/09/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Tintenklecks


iPhone: Get current orientation of the device


 / Published in: Objective C
 

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

  1. [UIDevice currentDevice].orientation

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: BenClayton on February 9, 2011

returns UIDeviceOrientationLandscapeLeft etc

You need to login to post a comment.