Setup a delegate for the controller inside the UIPopoverController. Make the controller that presents the UIPopoverController the delegate. Make sure this controller keeps a pointer to the UIPopoverController. When the bar button is pressed, send the delegate a controllerDidFinish message. When the delegate receives this message, have it send a dismissPopoverAnimated: message to the UIPopoverController.
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.
New app - See screenshots and details at www.globaclock.com.
If you want to thank me, click the link. Every click counts. If you want to do more, buy my app. A link is available on my website. Thanks.
|