uiinterfaceorientation Questions

5

Solved

I have a navigation controller which have a few view controllers. I need to support all orientations for all view controllers except one special view controller which only supports landscape. This ...

3

Solved

I am using a UISplitViewController inside a UITabBarController with a plain UIViewController in the master pane of the split view and a UINavigationController in the detail pane, which itself conta...
Coerce asked 10/1, 2011 at 17:34

2

I am developing an app which supports Landscape orientation only. It uses an UIImagePickerController to pick images and/or videos from the library. App is functioning fine in iOS-5 or before but it...
Subclavian asked 12/10, 2012 at 13:7

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....

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

2

Solved

When Game center is loaded its default orientation is portrait. In order to lock it in landscape mode, added a category. @implementation GKMatchmakerViewController (LandscapeOnly) - (BOOL)shoul...
African asked 19/9, 2012 at 4:59

1

My problem is the following: I want to only allow Portrait orientation on all my ViewControllers except 1 ViewController which is supposed to allow both Portrait and landscapeLeft/Right. I have now...

1

Solved

My app's supported interface orientations are Portrait and Upside down. However, when a video is played, I want it to play full screen landscape. Currently with this code, it only plays portrait, e...
Aker asked 22/10, 2012 at 23:35

1

Solved

I'm using storyboards in interface builder using the Xcode menu 'Editor...Embed in...Navigation Controller'. It seems that in iOS 6 you have to subclass the UINavigationController to allow all or...

2

Solved

I have some views in my app that I don't want to suport orientation. In didFinishLaunchingWithOptions I add navigation: ... UINavigationController *nav = [[UINavigationController alloc]initWithRoo...
Agate asked 21/10, 2012 at 8:46

2

Solved

I have <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</st...
Tew asked 18/10, 2012 at 18:32

2

Solved

I have application made for iOS 4.2 and I was doing development in XCode 4.3.3 and testing it with iPhone 5.1 Simulator and everything worked fine. Recently I decided to test how application runs o...
Washy asked 18/9, 2012 at 11:38

4

Solved

I have a UITabBarController presented in Portrait mode. On one of the tabs I have a button that shows a UIViewController modally (A simple storyboard segue performs the action). I want this modal ...

2

Solved

I'm having a bad time trying to set the new UIInterfaceOrientations from iOS 6. Resuming my app: My app have a bunch of views; Almost every view should be shown on Portrait orientation; 2 of my ...
Untitled asked 26/9, 2012 at 20:46

2

Solved

So, as by the question, I use the following code to set userinterfaceOrientation for the viewcontroller. - (BOOL) shouldAutorotate { return YES; } -(NSUInteger)supportedInterfaceOrientations { ...
Sanctity asked 26/9, 2012 at 11:38

3

I have already developed the app for Landscape mode,now the client is asking to build in both Landscape and Portrait mode. How can i convert landscape View to portrait View? Now i am using this c...
Procurance asked 5/9, 2012 at 13:5

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...

4

I am using the following embed code to embed my youtube videos on IOS - (NSString*)embedYouTube:(NSString*)youtube_id frame:(CGRect)frame { NSString* embedHTML = @"\ <html><head>\ ...
Aristate asked 29/6, 2012 at 9:20

1

Solved

I'm developing an iOS app using Core Plot headers. I have different UI for landscape and portrait. On orientation change, I'm getting this failed to return after waiting 10 seconds. main run loop m...
Limicoline asked 3/7, 2012 at 9:8

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...

3

Solved

I have a settings view controller with a table view. The table view is supposed to set its frame to be the frame of the view controller. My app only supports landscape mode, so that's the orientati...
Vanitavanity asked 3/10, 2011 at 4:41

4

I'm having a hard time getting this right. I've got a UIScrollView, with paging enabled. It is managed by a view controller (MainViewController) and each page is managed by a PageViewController, i...

3

Solved

I'm writing some acceptance tests for an application using the ActivityInstrumentationTestCase2 class. I want to cause an orientation change from within the test to ensure that a number of things h...

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

2

Solved

I'm trying to detect any device orientation change so that I can update the views. I want to update the views whether the orientation is portrait or landscape, so I implemented this method: - (BO...
Pazit asked 24/5, 2011 at 13:15

© 2022 - 2024 — McMap. All rights reserved.