I am having an issue with using the .overCurrentContext
modalPresentationStyle
on a tvOS view controller:
let vc = UIStoryboard(name: "", bundle: Bundle.main).instantiateInitialViewController() //representative of actually presented VC
vc.modalPresentationStyle = .overCurrentContext
present(vc, animated: true, completion: nil)
On the presented view controller, pressing the menu button ceases to return to the presenting view controller. This also occurs when setting it to .overFullScreen
and .blurOverFullScreen
. However, I am having no such problem when setting it to .currentContext
or .fullScreen
. Is there anything particular that needs to be used when using certain UIModalPresentationStyle
's?