iphone os 4 sdk landscape orientation problem - iphone

My application has a tab bar controller with a navigation controller in each of its tabs . The application is completely Landscape oriented. But when I try to run in iPhone OS 4, it is not changing to landscape at all. Any suggestions please?

Related

How do I force my launch storyboard to appear in portrait on the iPhone?

My app supports only iPhone, and the three default orientations (portrait, landscape left, landscape right).
I have a launch storyboard. If my iPhone 7 Plus is in landscape mode on the home screen when I launch my app, the storyboard appears in landscape mode. How do I tell iOS to always display the storyboard in portrait mode, as if the device were in portrait mode before the app was launched?
Please don't ask why I want this, or tell me it's a bad idea — there's context that would be a distraction to go into in this question.

Xcode app, navigation bar not showing on iPhone 6

I have an app that has been out for some time. I recently updated it to Swift. I have one user who is seeing different results than I am on either the simulator or on two different devices. The view presented is for video playing and on my devices and the simulator the navigation bar is present and the control bar for the video, unless the screen is tapped to dismiss it. On my user's iPhone 6 there is no navigation and no control bar.
I have not called for the navigation bar to be hidden on that view.
Haas anyone any ideas on what is happening?

landscape mode not working for ipad converted app

I am making my application universal for iPad. Everything works great for iphone but when I run it in the ipad simulator in landscape mode the navigation bar is missing from my uinavigation view and every view is shifted up by about 30 pixels.
Any idea what is going on?
Print the navigation bar frame and also check the orientation methods.

iPad orientation issue in iOS 5

I have UISplitViewController in StoryBoard that is initial view and I want the app to work only in Landscape mode.
I have restricted orientation to landscape only, and even put in plist Initial interface orientation to Landscape (right home button).
In iOS 6 everything works fine, it shows master and detail view only, but in iOS 5 it is stuck in Portrait mode and only shows Detail view.
Please help me with this, I am stuck with it for last 2 hours...
You need to implement shouldAutorotateToInterfaceOrientation in the view controllers you have contained in the UISplitViewController:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
return UIInterfaceOrientationIsLandscape(toInterfaceOrientation);
}

tabbar controller in landscape mode

I am working on a project in which I need to have the application in landscape mode. I made the changes in .plist file by setting interface orientation to landscape. I changed the orientation to landscape in the .xib files also but still when the application starts the in the simulator the tabbar controller appears in portrait mode only. Can any one please help with this.
Thanks
Note that by design, the UITabBarController will only rotate to support an interface orientation that all of its view controllers support. It will send the -shouldAutorotateToInterfaceOrientation: message to each of its view controllers and, if they all return YES, will return YES.