Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Darkroom

Guest
Original poster
Dec 15, 2006
2,445
0
Montréal, Canada
i would like to emulate that light flare effect of pushed Plain UIButtons in the UIToolBar for my custom buttons when pushed. it it possible to access this effect programatically without using UIToolBar?
 
UIButton has a property called something like showsHighlightWhenTouched which you can set to YES. It can also be turned on using Interface Builder.

I think plain (non-bordered) buttons on toolbars have it set to YES automatically, otherwise the default value is NO. Setting it to YES should give you what you need.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.