How to make UIBarButtonItem not grayed and not clickable

Discussion in 'iOS Programming' started by HARDWARRIOR, Feb 25, 2009.

  1. HARDWARRIOR macrumors member

    Nov 17, 2008
    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
  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Add the image as a subview to the UIToolbar, perhaps?

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

Share This Page