-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orientation changes broken on iOS9 + Launch Screen Storyboard #89
Comments
Did you got soultion for this i am facing same issue |
@rayalarajee |
Could you please let me know if you found soultion @kemalserkan @timeflying |
@rayalarajee @timeflying Hey there! Here is the solution or fix:
and don' forget to pass [UIDevice currentDevice] as object to notification in init:
|
If you take the CustomIOSAlertView demo app, add a launch screen storyboard and run in the iPad Air iOS9 simulator, device rotations are not working anymore.
The problem comes from [UIScreen mainScreen].bounds.size returning the size of the screen before the orientation change.
This is a very strange problem not happing, for instance, on iPad 2 iOS8.4 and iPhone 5 iOS9.0.2.
Seen on the simulator but also on a real iPad Air 1. It doesn't depend on the Deployment Target.
Tested on Xcode 7.0.1.
The text was updated successfully, but these errors were encountered: