Re: [iPhone] UINavigationController and UINavigationBar
Re: [iPhone] UINavigationController and UINavigationBar
- Subject: Re: [iPhone] UINavigationController and UINavigationBar
- From: Mike Abdullah <email@hidden>
- Date: Wed, 9 Dec 2009 00:23:24 +0000
On 8 Dec 2009, at 23:57, Luke the Hiesterman wrote:
>
> On Dec 8, 2009, at 3:51 PM, Mike Abdullah wrote:
>
>> Other alternatives:
>>
>> - Subclass UINavigationController to return a custom view from -navigationBar.
>> - Add a custom subview to the nav bar to do your drawing.
>
> I recommend neither of these. It's already been brought up that UINavigationController shouldn't be subclassed, and it isn't meant as a container for arbitrary views, either. If you really aren't satisfied with using a tint color for the background, file an ER asking for an API to provide a background image.
Final other option then, +[UIColor colorWithPatternImage:] and set that as the tint.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden