Skip to content
This repository has been archived by the owner on Jan 5, 2020. It is now read-only.

UINavigationBar is not in night mode when presented like this #32

Open
halpz opened this issue Oct 24, 2018 · 4 comments
Open

UINavigationBar is not in night mode when presented like this #32

halpz opened this issue Oct 24, 2018 · 4 comments

Comments

@halpz
Copy link

halpz commented Oct 24, 2018

the resulting navigation controller has a .normal mode colour even when night mode is enabled

func addPressed() {
        let newItemView = AddItemViewController()
        let nav = UINavigationController(rootViewController: newItemView)
        present(nav, animated: true, completion: nil)
}
@halpz
Copy link
Author

halpz commented Oct 24, 2018

should I be using a global?
UINavigationBar.appearance().mixedBarStyle =

or for each controller?
self.navigationController?.navigationBar.mixedBarStyle =

@halpz
Copy link
Author

halpz commented Oct 24, 2018

i think there is a problem with mixedbarstyle

@halpz
Copy link
Author

halpz commented Oct 24, 2018

Mixedkeyboardappearance is broken too

@ashzade
Copy link

ashzade commented Feb 11, 2019

I also can't get mixedbarstyle to work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants