Closed hesyifei closed 7 years ago
Also, it works fine on iPhone 6 Plus
Thanks for great demo of bug! I will look into it on a week.
Hi @ealeksandrov, I want to use in my iPad project. When this problem is solved? Thanks.
i have the same issue
Same issue here.
Does anyone know how to block rotate? I think this can be one workaround for this issue
Can anyone confirm this bug on device? I struggled with debugging on simulator until tested it on my iPad 4. And it worked flawlessly, just as designed.
Tested: iOS 9.3 simulators:
Devices:
Since I can't reproduce this on on my device and there is no possible reason for this behaviour - I consider it as iOS Simulator bug.
@ealeksandrov My Device: iPad Air (First Generation) - working
Thanks.
Thanks for reporting! Closing as iOS Simulator bug.
iPad Air (First Generation) - broken :(
Really, I still have the same problem on my device as well as in simulator. :(
O_o File a radar. I really can't see any reason for this behaviour. This is iOS autolayout issue.
Different behaviour on iPad Air and iPad Retina within the same iOS 9.3 simulator - 100% Apple issue.
I have the same problem. It seems the layout doesn't change so e.g. the portrait layout is still there even if you switch to landscape. Verified on iPad Air 2.
@ealeksandrov Can you block the rotation?
Will look for devices to test it.
Try to override shouldAutorotate
in VC containing EAIntroView.
I can confirm this occurs with version 2.9.0 on an iPad Air running iOS 9.3.2. It does change the layout on rotation, but it seems it shows the portrait orientation when rotating to landscape and vice versa.
A 'sort of' workaround is adding the pages again to EAIntroView after the rotation, but the animation remains incorrect of course.
It does however show the correct layout when first opening the intro view on any rotation.
Update: I see the same behaviour in the iPad Air (9.3) and iPad Air 2 (9.3) simulator. It seems to be occurring on iPad Pro simulator as well.
I can't seem to reproduce this bug using your example app on the same iPad Air. Tried out a couple of things, it doesn't happen.
I fail to see what's different in my project though.
I'm using EAIntroView in a presented ViewController. This works perfectly in the example application.
Weird. Thanks for info, lets collect more feedback in this issue.
Can anyone update us on this bug with iOS 10? Particularly with projects and devices already experienced this issue on iOS 9.
Experiencing this problem on the iOS 10 simulator (for iPad Air)
Experiencing it on actual device as well (iPad Air 2) using iOS 9.3.1. Same as above, in that the example works fine, but in project it does not.
I'll update to iOS 10 later and let you know if anything changes.
I also can reproduce this in iOS 10.1 simulator.
It looks like the problem is in UIDeviceOrientationDidChangeNotification
handler. You're expecting there that all the frames have already changed after rotation. But it isn't always the case. An alternative would be to override layoutSubviews
and do all the changes there.
Fixed by #191
So here is my code for creating the
EAIntroView
(using Swift)But on my iPad, the following display in iPad:
How can I fix it? Thanks!