I checked out the console on Xcode (thanks for pointing this out!) and I see that the orientation event is fired multiple times spontaneously. The orientation type is either " landscapeLeft" or " faceUp" as reported on the console.
The device is on my desk, slightly tilted, one of the long sides held up by the roll-up smart cover.
But here is something interesting: When I manually hold up the opposite side, no orientation events are fired and there is no flickering!
So now I’m confused. I need the orientation event because I have two background images (horizontal and vertical). The layout of buttons and form fields are also adjusted for orientation.
How do I deal with these two spontaneous orientation events? Why are they even firing when the device is lying still?