Device orientation settings not effecting iPad devices - ios

Why is it that iPads are not effected when un-ticking the device orientation check boxes? Could it be that I'm using the simulator?

In your info.plist file you need to add Supported interface orientations (iPad) to specify iPad orientations.
Options are
Portrait (bottom home button) Portrait (top home button) Landscape (left home button) Landscape (right home button)
The deployment info section in Targets only shows iPhone orientations for Universal app targets... bit dumb on Apple's part, but there you go!

Related

Prevent display rotation on iPad

In Xcode in Device orientation section only "Portrait" is selected. On iPhone it works properly, when phone rotated to landscape mode it still works as portrait, so no changing. But on iPad (6th generation) when display is rotated to landscape mode actual screen in my app is also rotated, but without autoscaling. But I don't want that it will be possible to rotate screen on iPad. Do I need to fix it by code or some other settings on Xcode besides "Device Orientation" settings
So in the info.plist for your app you just gotta go to "Supported interface orientation (iPad)" open that section up with the disclosure triangle and delete the items you don't want to rotate to for the iPad!

Xcode 6.1. Uncheck and check back portrait orientation. Simulator never appears in portrait mode

As we know "General" tab has "Device orientation" section where we can specify required device orientations.
The issue is next: when I once uncheck portrait orientation in Xcode settings, the simulator every time works in landscape mode, even if I checked portrait orientation back and reset all settings on the simulator.
Here is a video how it works: https://www.youtube.com/watch?v=gWDametoyks
The reason the simulator wants to run in landscape is most likely because of your "info.plist" file. The "supported interface orientations" array in the plist contains all of your supported interface orientations. Whichever orientation is first in that array is the one your simulator will default to when you run your application. Unchecking and rechecking an orientation (in the "General" tab) puts it at the bottom of the array, so the simulator doesn't use that orientation. It's an Xcode problem, not a simulator problem, which is why resetting the simulator didn't do anything. If you uncheck landscape and portrait, recheck portrait, then recheck landscape, the simulator will use portrait orientation. Hope it helps :)

Set Landscape Orientation for iPad Only NOT iPhone

I have an iPhone Storyboard and iPad Storyboard in my xCode project. In my iPhone version, I only want portrait mode to work (which is already there).
Now, I have added a storyboard for iPad, but iPad is working only with Portrait mode. However, I want the iPad to work in Portrait and Landscape and the iPhone to remain as portrait only
Please advise.
Select your project -> Target -> Deployement info -> iPhone.
and checkmark as follow:
for iPhone:
And for iPad:
Select your Project from document directory.
Go to Targets->General->Deployment Info
Here you will have iPhone and iPad options with relevant orientation info.
Checkmark the orientations you want, specific to device.

Mobile app rotates only 3 directions on Ipad

When the ipad is portrait and the home button at the bottom and the camera at the top, the app does not rotate.
But all other directions rotate perfectly, landscape and the other portrait (when the camera on botton and home button on top)
I don't know what causes this problem.
By the way the app is HTML5/Css3 and the Ipad is ipad2
Did you selected upside down orientation?
It's in the project targets - iPhone/iPad Deployment Info - Supported Device Orientations

How to disable Tabris iOS client orientation?

Is there a way to disable Tabris iOS client orientation? Meaning, I would like to fix the application orientation not change it when device orientation change.
Currently there is no Tabris/Java API available ...yet - but it's planned.
To fix the App orientation, click on your Xcode App target, and select only the "Supported Device Orientations" (Options available there: Portrait, Upside Down, Landscape Left, Landscape Right)

Resources