When presenting a UIViewController
modally after iOS 13, the presentingViewController
gets pushed down to also look like a view in the stack like seen in this image:
But in Apple Maps, for example, this does not happen. The presentingViewController
stays full screen:
I would like to achive the same modal presentation style as in Apple Maps. Has anyone got this working?
I have obviously searched stack overflow and the entire web, looked at every property on UIViewController
and UISheetPresentationController
, tried setting the modalPresentationStyle
of the presentingViewController
to fullScreen
and overFullScreen
(which I rightly assumed before trying wouldn't work).