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.
Asked
Active
Viewed 47 times
0
-
have you read the documentation of how the autorotation is being supported in iOS6...? – holex Jan 08 '13 at 11:21
2 Answers
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