How to make UIBarButtonItem not grayed and not clickable

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

  1. HARDWARRIOR
    Expand Collapse
    macrumors member

    Joined:
    Nov 17, 2008
    #1
    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
    Expand Collapse
    Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    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