Hi Albert, thanks you for your great message!
I tried your suggestions and ran more tests:
The switch happens only once the phone is fully set down. In the air at the same hinge angle (~78°) and the same orientation, the app stays on the inner display.
Covering the inner camera area, or resting the phone on a raised edge, doesn't trigger it.
Turning off the Tent position in Settings → StandBy, or StandBy itself, makes no difference.
Rotation Lock and a portrait-only app make no difference.
Notes and other third-party apps switch the same way.
UIScreenDidDisconnectNotification appears when phone is sat down on the table in tent mode, causing the display to switch.
So it looks like a system rule keyed to the phone resting on a surface, not to hinge angle, orientation, or StandBy. Apples own standby mode seems to be the excepttion (It can turn on the inner display).
Any more suggestions would be appreciated, but it just seems like Apple doesnt allow it for third party apps?
Moritz
Topic:
UI Frameworks
SubTopic:
SwiftUI