Top "Orientation" questions

Orientation is the way up, down, left or right something is facing or being held in.

Force portrait orientation while pushing from landscape View Controller

App Support: iOS6+ My app works in both portrait and landscape. But 1 controller should only works in a Portrait. The …

iphone objective-c orientation landscape portrait
iPhone Landscape FAQ and Solutions

There has been a lot of confusion and a set of corresponding set of questions here on SO how iPhone …

iphone uiviewcontroller orientation landscape
Obtaining orientation using gyroscope and accelerometer

I want to monitor the orientation of a device on 2 axis: very simply: which way is down. It must maintain …

orientation accelerometer gyroscope
Save UIImage, Load it in Wrong Orientation

I am using the following code to save and load images that I pick from either the library or take …

iphone objective-c ipad uiimageview orientation
uiwebview not resizing after changing orientation to landscape

I'm coding an iPhone app in which I have a UIWebView that loads a website with a responsive design. The …

objective-c uiwebview xcode5 orientation landscape
iOS 8 Orientation Change Detection

Running on iOS 8, I need to change the UI when rotating my app. Currently I am using this code: -(…

objective-c ios8 orientation
How to update quaternion based on 3d gyro data?

I've got an initial quaternion , q0. And I get angular velocity measurments, I integrate the the velocities so I got 3 …

orientation velocity quaternions gyroscope
How to restrict a moveable view by Pan gesture

I have a UIImageView which is moveable via a pan gesture. UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handlePan:)]; […

ios ios6 uiimageview orientation uipangesturerecognizer
Different values between sensors TYPE_ACCELEROMETER/TYPE_MAGNETIC_FIELD and TYPE_ORIENTATION

There are 2 ways to get the 3 rotation values (azimuth, pitch, roll). One is registering a listener of a type TYPE_…

android orientation sensors device-orientation
iOS 6 UITabBarController supported orientation with current UINavigation controller

I have an iPhone app I am updating to iOS 6 that is having rotation issues. I have a UITabBarController with 16 …

uinavigationcontroller rotation uitabbarcontroller orientation ios6