Reputation: 3811
I have developed an iPad
app for landscape orientation using freeform
layout in one of
the ViewControllers
.
It is working fine with iOS 7
, but When I'm running the app using Xcode 6
, the
controls in xib
position varies.
I have Tried to modify auto layout
check box, but no luck.
Can any one help me to solve this issue.
Thanks in advance
Upvotes: 0
Views: 106
Reputation: 427
Add the following code in the - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
method:
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
[self.window setFrame:[[UIScreen mainScreen] bounds]];
Upvotes: 1