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

iOS: Disable Autorotation for a Subview

I have a nested view hierarchy for an iPad application that supports orientation changes. It looks similiar to the following. …

ios ipad uiview orientation device-orientation
UIScreen applicationFrame returning incorrect rectangle on landscape application launch (iPhone/iPad)

Having trouble getting the correct bounds for my iPad application when launching it in landscape mode. I have the proper …

iphone cocoa-touch uikit ipad device-orientation
Mobile orientation change not applying CSS

I'm testing a website I'm developing and am using media queries. When I test and resize the page in a …

css media-queries device-orientation
Control default auto rotate screen in my application

I have a toggle button in my application. I want to change or control default setting, Auto rotate screen(Settings&…

android device-orientation
iOS 6 landscape and portrait orientation

I have a table with a big list of stuff that comes from a plist file and clicking each of …

ios6 device-orientation xcode4.5
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 - How to run custom code when orientation changes

I'm creating a game that allows the device to be in either landscape-left or landscape-right orientation, and the player can …

ios xcode cocos2d-iphone ios6 device-orientation
Android SensorManager strange how to remapCoordinateSystem

API Demos -> Graphics -> Compass It works properly only, until you don't change the device natural orientation. …

android screen-orientation device-orientation sensormanager
Android: Get current device orientation

I have the activity orientation in manifest set as portrait. As i dont want my screen to rotate. But On …

android screen-orientation android-orientation device-orientation
Fragment gets initialized twice when reloading activity with tabs when orientation changes

I have a problem reloading an activity with tabs and fragments when I change the orientation of my device. Here's …

android tabs android-fragments device-orientation