My app presents an AVPlayerViewController
full screen, using modalPresentationStyle = UIModalPresentationOverFullScreen
. Normally, everything works fine, and the AVPlayerViewController
can be dismissed by the Done
(here: Fertig
) button in the top status bar of the AVPlayerViewController
:
However, when I have an active hotspot connection, the hotspot status bar hides the top status bar of the AVPlayerViewController
including the Done
button, and the AVPlayerViewController
can no longer be dismissed while the hotspot is active:
How do I have to configure the AVPlayerViewController
correctly?
The bottom bar has an exit full-screen mode button at the lower right corner.
So the user can simply use that to exit the full-screen mode when the hotspot is active.