I am trying to set my backButton to a simple "<" like this:
self.navigationItem.backBarButtonItem = UIBarButtonItem(title:"", style:.Plain, target:nil, action:nil)
print(self.navigationItem.backBarButtonItem?.title)
The printing will display "", but running my app on the simulator will always display the title of the previous VC.
Though I tested
navigationController?.navigationBar.tintColor = UIColor(red:0.60, green:0.60, blue:0.60, alpha:1.0)
will change the button's color.
Note:
I am pushing from a UIViewController
embedded in a UINavigationController
to just a UIViewController