uiinterfaceorientation Questions
2
Solved
Full warning:
Implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation'
Getting it on the line:
[self orientationChanged:interfaceOr...
Stimulate asked 10/8, 2011 at 18:16
5
Solved
I want to play video in landscape mode in fullscreen.
And my application is lock in portrait mode.
How to implement this. Please help me.
Thanks in advance
Pleo asked 21/4, 2016 at 4:56
5
Solved
Can someone please tell me the "right" or "best" approach to working with portrait and landscape interface orientations in iOS 8? It seems that all the functions I want to use for that purpose are ...
Hydrology asked 26/9, 2014 at 23:53
8
According to the iOS & iPadOS 16 Beta 3 Release Notes:- Attempting to set an orientation on UIDevice via setValue:forKey: isn’t supported and no longer works. Instead, they say use: preferredIn...
Sennight asked 26/7, 2022 at 13:35
5
Solved
I use following code to see if the device is in landscape mode or not:
UIDevice.currentDevice().orientation.isLandscape.boolValue
It works BUT if I put my device in landscape mode before the app...
Gide asked 24/12, 2015 at 12:13
5
Solved
When I change viewcontroller orientation while it's loading on particular orientation, part of the screen goes blank at the bottom.
Steps to reproduce:
Have tableview(Not necessary I think. coul...
Additive asked 7/11, 2019 at 9:29
15
In iOS 5 we could change the device orientation programmatically like so:
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
But in iOS 6 setOrientation is dep...
Impend asked 29/9, 2012 at 5:14
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
6
Solved
I believe this is a common issue and many answers don't work anymore, many just partial, if you are under iOS7 and your iPad app is Landscape only, but you want to use the UIImagePickerController w...
Insufflate asked 9/12, 2013 at 10:31
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
4
How to design iPad Landscape and Portrait screens with different Layouts using Size class.
I could find only w-regular and h-regular for both orientations. Example: I need to align 2 views vertical...
Delladelle asked 30/12, 2014 at 6:9
16
Solved
It seems that when my app loads, it does not know its current orientation:
UIInterfaceOrientation orientation = [[UIDevice currentDevice] orientation];
if (orientation == UIDeviceOrientationPortra...
Alinaaline asked 4/5, 2011 at 18:16
4
All view controllers in my app are working only in portrait orientation except one which can be portrait or landscape oriented.
I have some usage scenario like following:
I push controller whic...
Krystin asked 28/12, 2012 at 13:46
1
We are using TouchID for our iPad app, which supports both Portrait & Landscape orientation.
According to our understanding, the TouchID authentication dialog doesn't support Landscape orientat...
Cicily asked 20/5, 2015 at 8:50
3
In my working application (iOS 7.0.1), UIDeviceOrientationDidChangeNotification is called.
Now when i run this application in iOS 8.0 UIDeviceOrientationDidChangeNotification is not getting called....
Arithmetic asked 30/9, 2014 at 6:54
3
Solved
I am trying to .StartAnimating an UIActivityIndicator when I rotate the device, I was trying to use an override function: didRotateFromInterfaceOrientation; however, this function is called after r...
Mudra asked 26/12, 2015 at 0:38
4
I am creating an application that only works in landscape mode.
During sign up I want to open the camera or present a UIImagePickerController, but the app is crashing with the following error:
**...
Palembang asked 25/1, 2015 at 7:12
2
Solved
I am trying to implement Instagram video cropping feature. For that i need to get correct orientation of the video with which i will layout my MPMoviePlayerController view in correct aspect ratio a...
Rudolf asked 18/10, 2016 at 21:11
5
Consider a UICollectionView that has a different number of items and a different layout (ie: spacing) on landscape and portrait orientation.
What needs to be done for these changes to be animated ...
Odum asked 1/11, 2012 at 16:18
3
Solved
I have a view that appears at the center of its parent view portrait mode, what autoresizemask should I use so that it appears in the center in landscape mode too. It's size should remain same.I ju...
Joon asked 20/10, 2012 at 7:3
3
Solved
I am working on a photography app that allow photos to be taken in portrait or landscape. Due to the requirements of the project, I cannot let the device orientation autorotate, but rotation does n...
Hagioscope asked 17/6, 2016 at 16:14
4
Solved
I need to get device orientation from a ViewController. I cannot base on:
[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
UIDeviceOrientation orientation = [[UIDevice cur...
Corsage asked 26/4, 2012 at 12:26
2
I'm trying to set the initial orientation for my app to be
UIInterfaceOrientationLandscapeLeft
I cant get
'Initial interface orientation'[UIInterfaceOrientation]
to override the first item in ...
Potential asked 15/2, 2012 at 17:30
6
Solved
So I've spent some time looking for an answer for this, but so far haven't found anything.
I'm trying to present a popover from a button on an UIInputAccessoryView. The UIBarButtonItem i want to d...
Bubalo asked 8/7, 2011 at 19:59
5
When a certain button is pressed in my app, the view should change orientation from portrait to
landscape. When the user comes back, the view controller should change back to portrait. But
sometime...
Anu asked 4/3, 2016 at 11:18
1 Next >
© 2022 - 2024 — McMap. All rights reserved.