setTintColor is ignored if the tintColor in storyboard is set as anything other than Default.

Originator:esusatyo
Number:rdar://15158469 Date Originated:05-Oct-2013
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 7.0
Classification:UI Reproducible:Always
 
Summary:
In any of my view controllers, this line is ignored when the tintColor in my storyboard is set as anything other than Default:

self.navigationController.view.window.tintColor = [UIColor blackColor];

Steps to Reproduce:
1. Create a project with Storyboard.
2. Go to the master view in storyboard, change the tintColor to whiteColor
3. Go to viewWillAppear in the MasterViewController, and type self.navigationController.view.window.tintColor = [UIColor blackColor];

Expected Results:
Global tintColor should be black now.

Actual Results:
Global tintColor is still white.

Version:
iPhone Retina simulator running iOS 7
Xcode 5.0 (5A1413)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!