Open fawzialrifai opened 5 years ago
Good day! You read in readme about capture state?
Sure, I would not ask without read it first. I set preferredStatusBarStyle property and modalPresentationCapturesStatusBarAppearance but that did not work.
Please, create simple project and send link here. I am tested it.
I am create subclass:
class MyCustomSafariViewController: SFSafariViewController {
override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}
override var prefersStatusBarHidden: Bool {
return false
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.setNeedsStatusBarAppearanceUpdate()
}
}
but it not work. I am tested different way, but for now no result. If I am found how do it, I am write here.
Thanks for your issue.
Hello Ivan. How can I change preferredStatusBarStyle to .lightContent on SFSafariViewController?