I want to change the color of an element of the right-hand panel button from black to white. This is a button in the form of a search icon. I have not encoded the search implementation yet, since I want to get the main interface first. I thought I wrote the correct codes to make it look white, but it still appears black in both the storyboard and the simulator.
In the storyboard, I also set it to white.
Here is my code which is in the AppDelegate.swift file:
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
Here is the simulator image:

It seems strange to me that this line of code does not work. Any solution?
ios swift uinavigationitem uinavigationcontroller uinavigationbar
user5483739
source share