Top "Uiinterfaceorientation" questions

The orientation of the application's user interface in Apple OS.

Animating UICollectionView on orientation changes

Consider a UICollectionView that has a different number of items and a different layout (ie: spacing) on landscape and portrait …

iphone ios uiinterfaceorientation uicollectionview
How do you force an orientation change in an Android Instrumentation test?

I'm writing some acceptance tests for an application using the ActivityInstrumentationTestCase2 class. I want to cause an orientation change from …

android testing instrumentation screen-orientation uiinterfaceorientation
iOS7 iPad Landscape only app, using UIImagePickerController

I believe this is a common issue and many answers don't work anymore, many just partial, if you are under …

ios ipad cocoa-touch uiimagepickercontroller uiinterfaceorientation
MPMoviePlayerController re-orientation portrait to landscape and back to portrait (iOS 4.1)

Since iOS 3.2 the MPMoviePlayerController class allows to embed a movie in the view hierarchy. Now I'm facing this issue: I …

iphone uiinterfaceorientation
Understanding iOS 6 Interface orientation change

ADDED: I see that my question is viewed often without upvotes so I decided that you guys do not get …

iphone objective-c ios6 uiinterfaceorientation
iPad Landscape and Portrait different layouts with Size Class

How to design iPad Landscape and Portrait screens with different Layouts using Size class. I could find only w-regular and …

ios iphone ipad uiinterfaceorientation size-classes
RootViewController animation transition, initial orientation is wrong

So I followed this thread: RootViewController Switch Transition Animation to transit the window.rootViewController from A to B to C. …

iphone ios ipad uiinterfaceorientation
Determining the Orientation of the screen rather than the orientation of the device

The [[UIDevice currentDevice] orientation] method returns a number of orientations beyond the portrait and landscape orientation. I am well aware …

ios screen-orientation uiinterfaceorientation
Disabling auto rotation for a UIView

My application is composed of a toolbar and an AVCaptureVideoPreviewLayer in a background UIView. I'd like to see that toolbar …

iphone uiview uiinterfaceorientation
Modal View Controller force Landscape orientation in iOS 6

I have a UITabBarController presented in Portrait mode. On one of the tabs I have a button that shows a …

ios xcode cocoa-touch modalviewcontroller uiinterfaceorientation