uideviceorientation Questions

2

The issue that I'm running into is that when a user takes a photo with our app, using AVCaptureSession, I have no way of determining whether they took the photo in Portrait or Landscape mode. Our a...

11

How to get device current orientation in an App Extension, I have tried below two methods but no success. It always return UIDeviceOrientationUnknown [[UIDevice currentDevice] orientation] It s...

3

Solved

I'm trying to find out if the device is in portrait or landscape mode. My code works quite well if the device is not facing up. If it does face up (and orientation == 5), it won't distinguish betwe...

4

Solved

I got this code that if the device is in landscape left/right or upside down it rotates and shows another view controller. but if it´s in the orientation face up or face down, then how can I tell i...
Dita asked 11/9, 2013 at 13:33

4

Solved

I dont want my app to be landscaped and always be porttrait.So i made my app Deployment Info to set portrait only. but when i need to display any image or videos in my app,i need landscape mode for...
Hollingshead asked 21/5, 2015 at 9:11

1

In my iPhone app I have a view that I want to show only in portrait mode. When navigating to that view it should be automatically displayed in portrait view. When navigating away, the orientation s...
Culdesac asked 2/7, 2015 at 21:55

2

Solved

I have an app with several VCs embedded in a NavigationController. I need all VCs to be locked in a portrait orientation and only one in both portrait and landscape. I've tried different approach...
Slim asked 27/5, 2015 at 14:56

3

Solved

How do I change or disable the rotating animation when screen orientation changes from landscape to portrait, or vice versa?
Angloindian asked 29/4, 2010 at 13:54

3

Solved

I am using AVFoundation to show the camera. I would like to prevent the camera itself to rotate so the viewer will see the camera only in portrait and the images will be taken only in portrait mod...
Guillemette asked 7/2, 2013 at 12:15

1

hope you will be fine and doing your best. I am getting a problem in upSideDown Orientation in my iOS 6, while I think I am doing everything perfect, but I don't know why it is not working for me....

1

This is an observation more than anything, because I appear to have found a work-around... The code below fails to work when it's in a controller which has been pushed onto a UINavigationControlle...

2

Solved

What's the difference between UIDeviceOrientation & UIInterfaceOrientation ? Which one should I use to detect rotation on a UIView?
Calyptrogen asked 27/7, 2011 at 2:3
1

© 2022 - 2024 — McMap. All rights reserved.