On Jul 10, 2013, at 16:07 , Rick Aurbach <r...@aurbach.com> wrote:

> Well, since a UIBarButtonItem is a UIBarItem, you might try explicitly using 
> the UIBarItem method setTitleTextAttributes:forState:, specifying the 
> disabled state. (You'll need to do this in code (such as viewWillAppear:), 
> since IB doesn't disclose the information. I'm guessing here, but my guess is 
> that grayed text is the default text attribute for the disabled state, unless 
> explicitly overwritten.

Sorry if I wasn't clear in the original post. This is exactly what I do, and 
has served me well, until I started removing and re-adding the items to the 
toolbar so that I could hide them when not applicable.

-- 
Rick




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to