Best way to implement UIViewControl in multiple Controlers
What is the best way to implement a button that is to be placed in several ViewControllers (part of a UINavigationController app), where when the button is pressed in any of the pushed view controllers the button does the same code of presenting a UIActionSheet to query for a type, and then display a UIImagePicker to pick and image and then return the image to yet another ViewController to save off to a DB.
I want to code the logic behind the button once but use it multiple times in the other view controllers. When I attempted this, the navigation bar would not update with a cancel button once the UIImagePicker was displayed (in the simulator).
Make sense?
Last edited by justdan0227; 12-23-2011 at 06:54 PM.
|