Dynamic UIToolBar buttons

Discussion in 'iOS Programming' started by OldGit, Mar 18, 2009.

  1. OldGit macrumors newbie

    Joined:
    Feb 2, 2009
    #1
    I have a UIToolBar on which I would like to add and remove buttons on-the-fly, is this possible?
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    You replace all the toolbar items using the items property. Set the property and that will change the buttons that are visible. It's possible for a given button to be in more than one array.
     

Share This Page