Reputation: 2242
I m using autolayout,
The screen i designed is working fine in Portrait and Lanscape mode on following devices :
1)iPhone 6 Plus : iOS 8.0.2
2)iPhone 5s : iOS 7.0.4
3)iPhone 5 : iOS : 6.1.4
4)iPhone 4 : iOS 7.0.4
But not working properly (pls. ref. screenshots) on following devices :
1)iPhone 5 : iOS : 8.1
2)iPhone 6 : iOS : 8.1.1
in these devices the screen is rotating with its status bar but the view remains same like Portrait. But when i press Home Button to put the app in background and again Double tap to active the App the screen get turn into Landscape along with the status bar and view but almost half of the Portion becomes black
I m using Xcode 6.1. Pleas help me solving this issue.
Upvotes: 1
Views: 500
Reputation: 2242
i got the solution , just removed following line from launchNavigateScreenWithStoryBoard - AppDelegate.m
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
Upvotes: 1