Barbara reported an issue on her iPhone 7 where portrait was showing the back/forward/etc. buttons in the top URL bar (in addition to them being shown in the bottom toolbar). It sounds like the issue is intermittent, and I haven't been able to reproduce. Steps most welcome!
No luck hitting this -- maybe this got fixed already. Unassigning myself until we get another report.
Assignee: bnicholson → nobody
Status: ASSIGNED → NEW
Just hit this a few minutes ago. Trying to come up with STR, I've been able to hit it again on occasion, but the steps aren't very reliable (sometimes takes 30+ tries): 1) Go to google.com (hit "g" then Go). 2) Rotate to landscape orientation. 3) Press Erase. 4) Turn the screen off. 5) Rotate to portrait orientation. 6) Unlock the phone. 7) Repeat from step 1.
Assignee: nobody → bnicholson
Status: NEW → ASSIGNED
Iteration: --- → 1.8
I have a much higher success rate if I push the top right settings button between steps 3 and 4, then press Back between steps 6 and 7.
Apparently UIDevice.current.orientation is unreliable. After step 5 in comment 3, UIDevice.current.orientation.isLandscape is *true* when viewWillTransition is fired (including in the completion block to coordinator.animate(alongsideTransition:)), so we never get signalled that the phone is rotated to portrait. I noticed that the size given to viewWillTransition is at least correct, so as a workaround we can try comparing size.width to size.height.
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.