07-18-2023, 11:35 PM
**Swift 3**
The most upvoted answer is not correct for Swift 3.
[![enter image description here][1]][1]
The correct code to change color is:
self.navigationController?.navigationBar.tintColor = UIColor.white
If you want to change color, change UIColor.white above to the desired color
[1]:
The most upvoted answer is not correct for Swift 3.
[![enter image description here][1]][1]
The correct code to change color is:
self.navigationController?.navigationBar.tintColor = UIColor.white
If you want to change color, change UIColor.white above to the desired color
[1]: