PDA

View Full Version : How to make UIBarButtonItem not grayed and not clickable




HARDWARRIOR
Feb 25, 2009, 08:55 AM
Hi! I want a logo to be on toolbar. Currently I use UIBarButtonItem with monochromatic alpha-image for that. But here is a problem: if it's enabled, it is clickable (glows on touch) - that can be confusing. If it's dimmed and barely noticeable.
So is there a way to make UIBarButtonItem not grayed and not clickable? Maybe there is another way to bring picture in toolbar... not necessary UIBarButtonItem



dejo
Feb 25, 2009, 08:59 AM
Add the image as a subview to the UIToolbar, perhaps?

Although, this seems to be against the HIG for how a toolbar is used.