autorotate Questions
7
Solved
I have a view controller with a child view controller.
tab bar controller
|
|
nav controller
|
|
UIPageViewController (should rotate)
|
|
A (Video Player) (shouldn't rotate)
|
|
B (Controls overla...
Tuba asked 2/2, 2015 at 12:44
1
A number of others have asked this question, but it's never been answered. The problem seems trivial and yet it hasn't been addressed in Apple's documentation or elsewhere.
I'm presenting my UIAct...
Bulahbulawayo asked 2/4, 2013 at 12:12
6
Solved
I'm trying to prevent rotation on one UIViewController and I can't achieve that.
I'm doing something like this:
open override var shouldAutorotate: Bool {
get {
return false
}
}
override var ...
Politick asked 4/11, 2016 at 0:40
6
I have a site that has a mobile stylesheet:
<link rel="stylesheet" href="css/mobile.css" media="handheld">
I'm also using jQuery to check for mobile devices and alter functionality accordi...
Insult asked 11/6, 2012 at 6:34
3
iOS 13/13.1 autorotation seems to be behave differently than iOS 12. For instance, my app allows user to lock interface orientation to portrait or landscape mode in settings.
If I have portrait r...
Shirring asked 16/9, 2019 at 6:54
18
I am working on an iPad app, using AutoLayout, where if the user enables a certain mode ("heads-up" mode), I want to support only portrait (or portrait upside down) orientation, and furthermore, if...
Naima asked 8/1, 2014 at 4:47
5
Solved
If you open the Google maps app, there is a button on the top right of the screen that you can press to center the map on your current location. The button's icon then changes. If you press the sam...
Histoplasmosis asked 14/1, 2013 at 14:8
5
Solved
I have a project using UINavigationController and segues working properly good, all of them rotate correctly, the thing is... I just want to disable autorotation on a specific UIViewController.
I t...
Fie asked 28/6, 2013 at 17:52
25
Solved
Before iOS 8, we used below code in conjunction with supportedInterfaceOrientations and shouldAutoRotate delegate methods to force app orientation to any particular orientation. I used below code s...
Evolute asked 14/10, 2014 at 9:26
13
Solved
I can't keep popover the same position on the screen after rotation. Is there any good way to do that, because just setting some frame to popover works terrible after rotating.popover.frame = CGRec...
Sire asked 30/1, 2012 at 14:9
3
Solved
I'm creating a subclass of UIView that needs to relayout its subviews when the orientation changes.
it needs to be able to "plug in anywhere" without any extra code so I'd rather not rely on the U...
Hyaline asked 26/8, 2013 at 7:32
4
I present a view controller from another one:
- (void)showModalView
{
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
MySecViewController *mySecViewController = ...
Grannia asked 1/10, 2015 at 9:34
5
Solved
I'm writing a drawing app and I don't want the drawing view to rotate. At the same time, I want other controls to rotate nicely depending on the orientation of the device. In iOS 7 I've solved this...
Icsh asked 13/2, 2015 at 17:58
3
Solved
I am not using Size classes in my project and continue to use old methods for view controller orientation. I am getting deprecation warnings, such as when I use code below :
if (UIInterfaceOrient...
Bignonia asked 18/4, 2015 at 13:24
3
Solved
My app can autorotate but I need one of the views to only show in portrait mode and don't know how to achieve this.
I tried this (among other things) but the view in question still rotates:
// Vi...
Joust asked 21/2, 2013 at 14:7
15
I have an iPhone app that uses a UINavigationController to present a drill-down interface: First one view, then another, up to four levels deep. I want the first three views restricted to portrait ...
Intuition asked 27/9, 2012 at 21:34
4
Solved
I am making an iOS app that needs to do a little interface rearrangement upon rotation. I am trying to detect this by implementing - (void)orientationChanged:(NSNotification *)note, but this gives ...
Magnetics asked 16/1, 2013 at 22:41
1
I have a video player in which I have two features:
If the auto-rotate is disabled and when the user clicks on fullscreen button I force the orientation to go in landscape view using setRequested...
Hillie asked 17/2, 2017 at 12:24
1
Solved
I am using this code.
For example, I have view1 (portrait only) and view2 (portrait+landscape). When you are in view1 and click a button, you open view2 with popup on the whole screen. When you clo...
Lagasse asked 20/12, 2016 at 0:26
2
Solved
This question is strictly about iOS9+
Say you have an ordinary modern app (autolayout, storyboard, universal) which does allow all four rotation positions
you want it to autorotate in the norma...
Lodge asked 14/7, 2016 at 18:4
1
I am presenting a modal view and action sheet from master panel of UISplitViewController. iOS 9.3
1) If I present the view when the iPad is in portrait mode and rotate the iPad to landscape, then ...
Chiffchaff asked 28/7, 2016 at 10:44
1
I have create a map now the map has to rotated in order to make it more nicer to see i tried the example from https://developers.google.com/maps/documentation/javascript/examples/aerial-rotation wh...
Metamerism asked 14/11, 2015 at 9:41
4
Solved
I am developing an application which supports portrait and landscape modes. I am using auto layout to arrange my views. As i have been reading many posts and i have realized that developers commonl...
Willdon asked 3/12, 2013 at 8:52
2
Solved
How to make auto rotate of OrbitControls stop when mouse interactive, and after few second it start like P3D.in does here with their logo (http://p3d.in/)
Doggone asked 21/11, 2013 at 3:46
3
Solved
I need to detect android device orientation change without playing manually with sensor data, while keeping activity orientation stick to some orientation
onConfigurationChange will not work as wi...
Stinkhorn asked 28/6, 2012 at 6:40
1 Next >
© 2022 - 2024 — McMap. All rights reserved.