Answers for "UINavigationBar turns black"

0

UINavigationBar turns black

let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = <your tint color>
navigationBar.standardAppearance = appearance;
navigationBar.scrollEdgeAppearance = navigationBar.standardAppearance
Posted by: Guest on November-14-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language