Found it! It's "barTintColor"!

Thanks for getting me to look in the headers!

On Jun 23, 2014, at 18:56 , Carl Hoefs <[email protected]> wrote:

> -tintColor
> The tint color to apply to the navigation items and bar button items.
> 
> If you do manage to get it working under iOS 7, post it! The white nav bar is 
> the ugliest part of my app!
> -Carl
> 
> 
> On Jun 23, 2014, at 6:53 PM, Rick Mann <[email protected]> wrote:
> 
>> iOS 7.1 in the simulator.
>> 
>> On Jun 23, 2014, at 18:52 , Carl Hoefs <[email protected]> 
>> wrote:
>> 
>>> Are you on iOS 7? You're describing an iOS 6 behavior. Doing the following 
>>> on iOS 7 (in -viewDidLoad):
>>> 
>>>  self.navigationController.navigationBar.tintColor = [UIColor redColor];
>>> 
>>> has no effect other than changing the text within the bar items. Under iOS 
>>> 6 it changed the tint of the entire navigation bar.
>>> -Carl
>>> 
>>> 
>>> On Jun 23, 2014, at 6:41 PM, Rick Mann <[email protected]> wrote:
>>> 
>>>> Before, I had the nav bar as a separate entity in my view hierarchy. Then, 
>>>> I was able to select it and set the tint color to the color I wanted in IB.
>>>> 
>>>> I changed things to a formal UINavigationController stack to make it 
>>>> easier for my contained class to modify the items in the nav bar, and now 
>>>> there seems to be no way to change the color.
>>>> 
>>>> On Jun 23, 2014, at 18:34 , Carl Hoefs <[email protected]> 
>>>> wrote:
>>>> 
>>>>> FWIW, for setting the UINavigationBar color you can specify any color as 
>>>>> long as it's white. The -tintColor method appears to specify the color of 
>>>>> the text within the navbar button items only. 
>>>>> -Carl
>>>>> 
>>>>> On Jun 23, 2014, at 6:08 PM, Rick Mann <[email protected]> wrote:
>>>>> 
>>>>>> I'm having a heck of a time setting the tint color for a navigation bar. 
>>>>>> I can't set it in IB (my controller is contained in a 
>>>>>> UINavigationController, which is embedded in another custom controller). 
>>>>>> I can't set the tint bar directly when the root navigation controller is 
>>>>>> embedded in its container, and I can't set it via the contained 
>>>>>> controller in its viewDidLoad.
>>>>>> 
>>>>>> I've also tried setting the tintColor on the window at startup, and I've 
>>>>>> tried setting the UINavigationBar appearance's tint color. None seems to 
>>>>>> have an effect.
>>>>>> 
>>>>>> What am I doing wrong?
>>>>>> 
>>>>>> Thanks!
>>>>>> 
>>>>>> -- 
>>>>>> Rick
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> 
>>>>>> Cocoa-dev mailing list ([email protected])
>>>>>> 
>>>>>> Please do not post admin requests or moderator comments to the list.
>>>>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>>>>> 
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>> https://lists.apple.com/mailman/options/cocoa-dev/newslists%40autonomy.caltech.edu
>>>>>> 
>>>>>> This email sent to [email protected]
>>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Rick
>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
>> -- 
>> Rick
>> 
>> 
>> 
> 


-- 
Rick




_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to