Top "Device-orientation" questions

Use device-orientation for questions related to coding for both landscape and portrait modes of a device which can be rotated by the user

Three.js: rotate camera with both touch and device orientation

I am making a 3D project with threejs which allows control of the camera with mouse for computer devices, and …

javascript html three.js device-orientation
Android: understanding the function remapCoordinateSystem

I have been trying to understand these 2 lines of code SensorManager.getRotationMatrix(RTmp, I, grav, mag); SensorManager.remapCoordinateSystem(RTmp, SensorManager.…

android screen-orientation device-orientation rotational-matrices
How to support only portrait mode on an iPhone app

I have a strange problem in an iPhone app I'm developing. I want my app to support ONLY portrait mode, …

iphone objective-c xcode autorotate device-orientation
Hiding title bar / notification bar when device is oriented to landscape

I want my title bar to be hidden when I turn my device to landscape. I have seen the XML …

java android titlebar device-orientation
lock orientation programmatically in iOS 9

As title, I'm wondering if it's possible to lock orientation programmatically in iOS 9 now? This is critical to my app …

ios9 device-orientation
How to get the iPhone view's current orientation or the device's last orientation?

In my app an image appears when user shakes the device. There are different images for landscape and portrait mode. …

iphone device-orientation
UITableViewCell autoresizingmask issue

I have 3 UI elements in the contentView of the UITableViewCell that need to be aligned properly when the device rotates. …

iphone ios uitableview device-orientation autoresizingmask