Closed chokokatana closed 3 weeks ago
The usual way to change the status bar style on iOS is to override the var preferredStatusBarStyle:
var preferredStatusBarStyle
override var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent } override func viewDidLoad() { super.viewDidLoad() setNeedsStatusBarAppearanceUpdate() }
However, ComposeUIViewController() returns a final UIViewController and there is no way to change this value. Maybe ComposeUIViewControllerConfiguration could grow extra nullable blocks that could be implemented to provide extra customization.
ComposeUIViewController()
ComposeUIViewControllerConfiguration
I'll forward this API, as a temporary workaround, you can wrap your ComposeUIViewController into UIViewController with overriden properties
The usual way to change the status bar style on iOS is to override the
var preferredStatusBarStyle
:However,
ComposeUIViewController()
returns a final UIViewController and there is no way to change this value. MaybeComposeUIViewControllerConfiguration
could grow extra nullable blocks that could be implemented to provide extra customization.