toolbaritems

How do I remove a button from a view controller's toolbar on the iPhone?

I have code that works great for adding a button to the toolbar: NSArray* toolbarItems = [NSArray arrayWithObjects:flexibleSpace,shuffleBarItem,flexibleSpace,nil]; self.toolbarItems = toolbarItems; However, I also want to be able to remove toolbar items. When I use the below method, my application crashes: NSArray* toolbarItems = [N...

uinavigationController's toolbar with custom items

I am trying to use the NavigationController's toolbar in my app. This toolbar's toolbarItems are suppose to change depending on which view controller is presented. this is very basic. What I am trying to do is to add custom buttons to the toolbar using the UIBarButtonItem's "initWithCustomView:" method. However, the button won't show...

Problem adding an image to the toolbar using UIBarButtonItem, displaying blank white box instead of image.

Im not sure what im doing wrong. The file name is correct, the style is set to plain. But Im getting a bank white box the size of my image. Im using UINavigationController. Please assist and thank you thank you in advance. **FYI I am sorta new to objective c so dont be too hard on me. ;) UIBarButtonItem *toolbarChannelGuideButton ...