iPhone: Get current orientation of the device

/ Published in: Objective C
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. [UIDevice currentDevice].orientation

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.