Hey guys,
My view hierarchy is like this
CustomRootViewController
↳ PulleyController Modal Presentation (.overCurrentContext)
↳ TabBarController (Pulley's mainContentController)
↳ NavigationController
↳ ListViewController
↳ DetailViewController pushed onto navigation / custom statusbar style
↳ OtherViewController presented modally (.automatic)
My issue is this:
- When I have
modalPresentationCapturesStatusBarAppearance = true on my pulley controller
- ✅ My DetailViewController can set it's own status bar style
- 🚫 But when I present OtherViewController I get the iOS 13 card style with black status bar on black background.
- When I have
modalPresentationCapturesStatusBarAppearance = false on my pulley controller
- 🚫 My DetailViewController cannot set it's own status bar style
- ✅ But when I present OtherViewController I get the correct status bar style (light on black)
I tried presenting modally on the pulleyController directly but it didn't help.
Does anyone have an idea how to solve this?
Hey guys,
My view hierarchy is like this
CustomRootViewController
↳ PulleyController Modal Presentation (.overCurrentContext)
↳ TabBarController (Pulley's mainContentController)
↳ NavigationController
↳ ListViewController
↳ DetailViewController pushed onto navigation / custom statusbar style
↳ OtherViewController presented modally (.automatic)
My issue is this:
modalPresentationCapturesStatusBarAppearance = trueon my pulley controllermodalPresentationCapturesStatusBarAppearance = falseon my pulley controllerI tried presenting modally on the pulleyController directly but it didn't help.
Does anyone have an idea how to solve this?