First, remove all explicit setting of modal presentation style in code and do the following:
- In the storyboard set the ModalViewController’s
modalPresentation
style toOver Current context
- Check the checkboxes in the Root/Presenting ViewController –
Provide Context
andDefine Context
.
They seem to be working even unchecked.