Top "Orientation" questions

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

Prevent orientation change in iOS Safari

Is it possible to avoid transition to landscape view in Safari for iOS when the device is rotated? iOS Safari …

javascript html ios safari orientation
Is [UIScreen mainScreen].bounds.size becoming orientation-dependent in iOS8?

I ran the following code in both iOS 7 and iOS 8: UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; BOOL landscape = (orientation == UIInterfaceOrientationLandscapeLeft || orientation == …

ios ios8 orientation uiinterfaceorientation uiscreen
Screen orientation and values in manifest.xml

I want to use all activities in my form in landscape or portrait. When user select orientation - this is …

android screen orientation
Getting device orientation in Swift

I was wondering how I can get the current device orientation in Swift? I know there are examples for Objective-C, …

ios swift orientation
Camera orientation issue in Android

I am building an application that uses camera to take pictures. Here is my source code to do this: File …

android orientation android-camera-intent
How to set device (UI) orientation programmatically?

Would like everything on the screen (UI) to be able to rotate from landscape left to right or vica versa. …

ios iphone objective-c orientation
How to lock orientation during runtime

Is there a way to lock orientation during runtime? For example I'd like to allow the user to lock the …

android orientation
IOS 6 force device orientation to landscape

I gave an app with say 10 view controllers. I use navigation controller to load/unload them. All but one are …

iphone objective-c orientation ios6
What is the "right" way to handle orientation changes in iOS 8?

Can someone please tell me the "right" or "best" approach to working with portrait and landscape interface orientations in iOS 8? …

ios ios8 orientation uiinterfaceorientation landscape-portrait
how to detect orientation of android device?

Is it possible simple to detect current orientation of android device, without programming a listener and handling the position matrix? …

android orientation