views:

233

answers:

1

I want to add and remove the items on UIToolbar at runtime. Is there any way to do that?

A: 

Use setItems:animated. You pass in an area of items you want to display. So you may have a bunch of button bar items in the NSArray. You would just reset the array minus the items you want to remove to get rid of an icon.

Jab