Search code examples
iosswiftipadpasscode

Enter iPad passcode screen is weird in portrait mode


I've this weird screen orientation showing up for enter iPad passcode on my login screen when I tap on saved password in landscape mode. The strange thing is that when I rotate screen to landscape mode and go to portrait mode it shows correctly first time but after that it again starts showing up weirdly.

It seems that it is trying to present passcode screen in landscape orientation on device's portrait mode.

This issue doesn't occur when device is in landscape mode.

Is it to do with something in my code? How to fix it or go about finding out the problem?

iPad


Solution

  • There is nothing wrong with your code. It is either a bug in iOS or something went wrong with your device. The solution is to update iOS to the latest version or restart the device.