The problem I am having is a bit strange and I can't seem to find any good solutions out there. So I have two UIViewControllers, one is allowed to tak ...
The problem I am having is a bit strange and I can't seem to find any good solutions out there. So I have two UIViewControllers, one is allowed to tak ...
I was using NotificationCenter to observe interfaceOrientation change by UIApplication.willChangeStatusBarOrientationNotification. But UIApplication.w ...
Since iOS8, there is the very convenient viewWillTransitionToSize method to handle interface orientation changes. I use this the following way in my a ...
I'm trying to enforce portrait view of my app on iOS. It should be a simple thing but none of the solutions I found online seem to work. Here is the s ...
I am trying to implement something where I stuck at one point. I want some orientation restrictions as follows: For iPhone 4, 4S, 5, 5S, & 6 ...
I am looking to allow app rotation on an iPad, but would like to keep it disabled on the iPhone, as it is too narrow. So far, I only see instructions ...
I know how to listen to the physical device changing orientation by observing UIDeviceOrientationDidChangeNotification. Instead of listening for the d ...
Is it possible to enable/disable rotation parameter for current screen or this property is for all application? ...
What's the Difference between Interface Orientation and Device Orientation? Both of them seems the same but what's the actual difference between them? ...
I have a problem with an app I am working on that goes like this: The app's window has a rootViewController which is set to a custom class (MenuViewC ...
} @end BIDViewController class could be able to access the property interFaceOrientation2, But BIDViewController2 class could not be able to acces ...
I am working on iOS 6.1 and 7.0. The behavior is the same for both of them. The root view controller is UIVeiwController. It has a property UINavigati ...
I am facing some problems with my current application's interface orientation. My application need to run only in portrait orientation But I need to s ...
I have an iPad app and am drawing the main view with openGL and I want to animate my own change when the device is rotated. Note that this app only ...
Both on iPhone simulator and iPhone 3GS (iOS 6) I cannot manage to set the orientation to portrait upside down. I have just one ViewController. I've a ...
I'm building a project with a Base SDK of iOS 6.0. In Targets > Summary I've set the Supported Device orientations' to portrait only (the other or ...
In my app I want to keep an image centered after a device rotation. For this I'm using the willRotateToInterfaceOrientation and didRotateFromInterface ...
I am trying to build an app that only works for landscape device orientations on iOS devices. That means my shouldAutorotateToInterfaceOrientation ret ...
I am using following code to change image of UIImageView when iPad orientation is changed Everything is working fine except when I change orientati ...
For better user experience I had the following in my code: So, if allowLandscape is set to YES, user can play with the app in all typical device or ...