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

OldGit

macrumors newbie
Original poster
Feb 2, 2009
17
0
I have a UIToolBar on which I would like to add and remove buttons on-the-fly, is this possible?
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.