• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can't keep disabled UIBarButtonItem text white
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't keep disabled UIBarButtonItem text white


  • Subject: Re: Can't keep disabled UIBarButtonItem text white
  • From: Rick Aurbach <email@hidden>
  • Date: Wed, 10 Jul 2013 11:28:47 -0400
  • Acceptlanguage: en-US
  • Thread-topic: Can't keep disabled UIBarButtonItem text white

Rick,

I haven't tried this, so I don't know whether it will work, but…

have you tried leaving the buttons enabled but disabling user interaction for them? Of course, if that works then it leaves open the larger question of whether your UI goals are best served by displaying buttons that can't be pushed...

> I have some UIBarButtonItems in a toolbar showing some app status. They're disabled, because there's no action if you tap, but I want them to appear white, so I set the disabled color to white.
>
> One of these, and some other image items (that are also disabled) are hidden and shown depending on the app state. I use -setItems:animated: to do this. When I do, I see them flash white, then dim to the disabled color.
>
> Is this a bug? Is there a workaround?
>
> Thanks,
>
> --
> Rick

Cheers,

Rick Aurbach
Aurbach & Associates, Inc.

_______________________________________________

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


  • Follow-Ups:
    • Re: Can't keep disabled UIBarButtonItem text white
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: Bundle Identifiers - and application support directory
  • Next by Date: Re: Bundle Identifiers - and application support directory
  • Previous by thread: Can't keep disabled UIBarButtonItem text white
  • Next by thread: Re: Can't keep disabled UIBarButtonItem text white
  • Index(es):
    • Date
    • Thread