autorotate Questions

2

I found that recorded video in portrait mode will rotate 90 degree. Thus I used the following code to rotate it when I set the mediaRecorder: if (this.getResources().getConfiguration().orientatio...
Undergird asked 23/8, 2012 at 18:45

2

I have a view controller set up programmatically which has a child UIPageViewController. This displays various other view controllers that are also set up programmatically. These view controllers' ...

3

Solved

My application supports all orientations except PortraitUpsideDown. In my view hierarchy I have an AVCaptureVideoPreviewLayer as a sublayer in the top view which is UIImageView. Then below it in vi...
Digitigrade asked 18/6, 2012 at 9:4

1

Solved

Updated my question I'm building a crawler system by Java to compare price online. However, I worry about my IP address can be banned. So I intend to use proxy to change IP dynamic or use so...
Dioptase asked 15/4, 2015 at 15:0

2

Here is a simple single view controller app : - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. self.view.backgroundColor = [...
Mortmain asked 8/8, 2014 at 15:1

0

I have an app that is designed to run Landscape. It is a Cocos2D app. It works fine until I add another window (such as for displaying ads) or if I display a modal view controller. When I do that...
Flanker asked 3/10, 2014 at 17:54

3

Solved

I need to use different xib files for portrait and landscape. I am not using Auto Layout but I am using iOS6. (See my previous question if you care why.) I'm following Adam's answer to this questi...
Hailstone asked 2/7, 2013 at 20:35

1

I have a view controller presenting another view controller with modalPresentationStyle = UIModalPresentationCustom. Things are set up so that part of the presenting view controller's view shows up...
Janejanean asked 8/8, 2014 at 22:14

1

I'm trying to implement a photo gallery using a UICollectionView. The setup is similar to the one in this tutorial: The cells are as big as the collection view, so you'd see one picture at a time. ...
Kanal asked 7/1, 2014 at 16:38

7

Solved

I've got a view controller listening for both UIKeyboardWillShowNotification and UIKeyboardWillHideNotification. The handlers for these notifications adjust various parts of the view, which is stan...
Defamation asked 17/3, 2012 at 1:16

1

My rootViewController is a UITabbarController and contains UINavigationControllers. In order to restrict rotation, since iOS6, on some but not all views, I have subclassed both of the these contro...
Harvard asked 12/8, 2013 at 14:58

1

Solved

This has been bugging me recently. It is quite straightforward to put together an OpenGL ES app that supports both portrait and landscape. But during autorotation, the system seems to just forcibl...
Shopper asked 9/9, 2013 at 3:4

3

Solved

I'm confused about the implementation of autorotation in ios. I have a UIViewController, and I tell it to autorotate inside shouldAutoRotateToInterfaceOrientation. However, it doesn't work. So I re...

6

Solved

I have recently run into a problem. My iPad app is somehow preventing the iPad from auto-rotating. My app loads a UISplitView with both of the view controllers returning YES for shouldAutorotateToI...
Goldeneye asked 29/4, 2010 at 0:21

4

Solved

I have a paging UIScrollView in which the user pages horizontally through images, like Apple's Photos.app. That works, but now I'm trying to add rotation support. I've got the view rotating OK and...
Codling asked 23/7, 2010 at 21:33

3

Solved

I've built a game for iOS that is designed for landscape mode and it works just fine except that if you turn the device to portrait mode it stops there to with the interface only filling about the ...
Harmonist asked 2/7, 2011 at 19:50

2

Solved

I want to only support vertical orientation throughout all the view controllers of my iOS app. However, I embed a YouTube video in one of my view controllers, and when that video is selected to tak...
Payer asked 2/5, 2013 at 20:53

1

Solved

I want to listen to 'Auto-Rotate' configuration change, not the device/system orientation, but to the toggle changes (on/off) I believe i will have to sign up to configChange in the AndroidManifest...
Electrocautery asked 22/4, 2013 at 14:51

3

Solved

I have GLKit-based app with some simple object displayed. All works fine, except screen rotation, during which GLKView is not updated (-drawRect: is not called). So during rotation projection matr...
Cumin asked 7/3, 2013 at 19:18

1

Solved

My app is a scorekeeper with two tabs. Tab one is where scorekeeping actually takes place, and tab two contains history of past games. Only tab one supports rotation, and when rotating it hides its...
Cribwork asked 27/3, 2013 at 8:19

2

Solved

I have two view controllers in a single project. However, I want one of the view controller's to autorotate, and the other to not. If I set the master project setting as seen below: Then, all v...
Nicolas asked 18/8, 2012 at 18:28

2

I read a lot about that. People say it will not autorotate whene its parent is not set to auto rotate. I tried everything but no luck. I created view-based app (v4.2) with a button that executes t...

2

Solved

My application is navigation based and mainly runs in portrait orientation, But one view controller supports both portrait and landscape orientation. Now the problem is, When I push the new viewcon...
Lighthouse asked 15/2, 2013 at 14:14

3

I've used this code to force an orientation change back to portrait when the user is finished watching the video (it allows viewing in landscape mode), before popping the video view controller off ...

12

Solved

I did an App which is tab-based. Nothing needs to be on landscape mode but a couple of views. It worked OK on iOS5 and I was pretty happy with the result. However with iOS6 and without messing with...
Fleshly asked 21/9, 2012 at 19:1

© 2022 - 2024 — McMap. All rights reserved.