Hi folks, I'm trying to change navigation bar tint...
# compose-ios
b
Hi folks, I'm trying to change navigation bar tint color on iOS so as I suppose I need access to
UINavigationBar
which is in
UINavigationController
. However it looks like
LocalUIViewController.current.noavigationController
is always null. Do you know how to challange it or other idea on how to control system bars colors on iOS?
👍 1
j
See this template for how you can change the status bar color.
b
Thank you for reply. However this is Swift code. I'm looking for a kotlin solution, so we could do it in Compose Theme when changing other app colors.
j
You could read the color value from Kotlin when applying it in Swift.
b
Thanks, I will check that. BTW it would be great to migrate System UI controller from Accompanist to Compose Multiplatform