views:

26

answers:

0

I have programmatically created a UIToolbar. As part of the code I use the following: [self.view addSubview: toolbar]. I tried adding atIndex: but get a warning that it may not respond. I was thinking of swapping the toolbar view for another view to hide the toolbar on the stack.

In the end, I have been trying to hide the toolbar when calling the camera modal controller as the toolbar hides the standard camera controls. Putting the toolbar.hidden = YES does not work, me thinks because I am not using a navigation controller, only the toolbar to navigate between my view controllers.

Any thoughts or suggestions?