device-orientation Questions
5
Solved
I'm testing a website I'm developing and am using media queries.
When I test and resize the page in a browser, everything is good.
But when I test on my mobile device, I encounter a problem when ...
Secrecy asked 11/9, 2013 at 17:29
4
Solved
I have a toggle button in my application. I want to change or control default setting, Auto rotate screen(Settings>Display>Auto rotate screen) programmatically. Does anybody know how to do this?
Hoyos asked 15/3, 2012 at 10:58
3
I have a table with a big list of stuff that comes from a plist file and clicking each of them takes you to a new view, a xib.
I have 2 views inside that .xib, one for portrait and one for landsca...
Shorter asked 24/9, 2012 at 12:37
3
Solved
I'm working on an app which has just one activity (which extends BaseGameActivity), and switch between multiple fragments (much like Google's sample code states).
I'm testing a multi-player game r...
Bout asked 11/7, 2013 at 13:0
3
Solved
I have a nested view hierarchy for an iPad application that supports orientation changes. It looks similiar to the following.
UIViewController
UIView
- UIView
- UIImageView (disable rotation)
...
Highclass asked 8/9, 2011 at 20:3
8
Solved
Having trouble getting the correct bounds for my iPad application when launching it in landscape mode. I have the proper keys set in my Info.plist file, and my view controllers launch properly in l...
Receptionist asked 19/4, 2010 at 2:58
2
Solved
I have a question about showing an arrow to a location.
This is what I have:
You can save your current location in the localstorage. A while later when you are for example 30 meters further you ...
Wireman asked 17/5, 2013 at 8:17
5
Solved
As far as I've understood, your Android activity will be recreated for the new orientation on any orientation changes.
Is there a way to store / save some of the data from the original orientation...
Sandstorm asked 23/8, 2011 at 21:23
5
Solved
This question is about iOS device rotation and multiple controlled views in a UINavigationController. Some views should be constrained to portrait orientation, and some should autorotate freely. If...
Obtrude asked 17/2, 2011 at 14:36
1
Is there a native JavaScript (or through the use of a library such as JQuery/Modernizr etc) way to detect if a device is capable of changing orientation? I would like to use that as a method to dif...
Emera asked 10/12, 2012 at 15:23
9
Hi I have an app and I have two *.pngs for default splash screen:
Default-Landscape.png
Default-Portrait.png
What I want is to animate this default splash screen away when my app is loaded and re...
Wallacewallach asked 13/8, 2010 at 14:5
1
Solved
I'm creating a game that allows the device to be in either landscape-left or landscape-right orientation, and the player can change the orientation while it's paused. When they do I need to change ...
Ese asked 1/10, 2012 at 21:22
3
There are 2 ways to get the 3 rotation values (azimuth, pitch, roll).
One is registering a listener of a type TYPE_ORIENTATION. It's the easiest way and I get a correct range of values from every ...
Cherubini asked 13/11, 2010 at 19:55
1
Solved
I want to add a accessoryView on a keyboard called from a UISearchBar. Since UISearchBar does not implement this property, I've just created a toolBar. Following Apple's documentation on the matter...
Septate asked 2/7, 2012 at 17:54
2
Solved
I'm adding a UIView to a UIWindow that's not the keyWindow. I'd like the UIView to rotate when the device rotates. Any special properties on the window or the view I need to set? Currently the view...
Castor asked 5/1, 2012 at 4:14
2
I am using a splitviewcontroller as the rootview of my application. I need to show the login and registration views as a modal view on top of the splitviewcontroller. When i try presenting login/re...
Robson asked 5/1, 2012 at 6:21
4
Solved
I have a strange problem in an iPhone app I'm developing. I want my app to support ONLY portrait mode, but for some reason I can't do it (device & simulator).
To support only portrait mode I ...
Hamid asked 5/4, 2012 at 16:36
3
Solved
I upgraded to xCode 4.2 and it's new Storyboards feature. However, could not find a way to support both portrait and landscape.
Of course, I did it programmatically, with 2 views, one for portrait...
Griffith asked 18/10, 2011 at 6:59
1
Solved
I've created a custom UIAlertView (by subclassing it and messing around with its show function) that has some custom subviews and is of non-standard size.
It works ok when I create and display it,...
Nebulous asked 28/7, 2011 at 13:6
1
I know this subject gets a lot of attention here at SO, but none of the "solutions" is working for me. Here's the situation:
iPad is flat on my desk (a face up device orientation), the home scree...
Olatha asked 8/6, 2011 at 23:17
2
Solved
In my app an image appears when user shakes the device. There are different images for landscape and portrait mode. If the iPhone's orientation is portrait or landscape, it works fine. But if it is...
Hughmanick asked 19/8, 2010 at 14:56
2
Solved
hello all i have my splash screen which i want to show in landscape mode and all other screen in potrait mode. My root view controller is acting as a splash screen i am writing this code in viewdid...
Debus asked 2/6, 2010 at 4:51
© 2022 - 2024 — McMap. All rights reserved.