0

Hi I have developed an application in ios 4, now I am building it on ios 6 but the orientation is not working. I am using splitview for iPad.

2 Answers2

0

I had the same issue before.

I fixed it by setting the rootview controller of window as UISplitView.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [self.window setRootViewController:viewController];
}

Where UISplitViewController *viewController;

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
0

check my answers on this link my friend.

Device orientation handling in iOS 6 during view load?

if you are not getting then do tell me..

Let me know it is working or not...

Happy Coding!!!

Community
  • 1
  • 1
NiravPatel
  • 3,260
  • 2
  • 21
  • 31