Hope that helps Unless I misunderstood your question, this seems fairly easy to accoumplish. I suppose you could sent a notification from UIPopoverController. First in your main view controller in viewWillAppear add self as observer:
this one helps. I have finally found the issue. For some awkward reasons, the rootViewController of the root window wasn't set properly, leading to strange behaviors with modal views. What is the more puzzling is that it worked fine on iOS 4 so far and failed on iOS 5. I believe I'm still missing the true reasons leading to such trouble, but correctly setting the rootViewController in AppDelegate solved the problem.
How to create a NSPanel modally popuped from NSWindow (Cocoa programming)
it should still fix some issue The context is pretty simple, there is a UIViewcontroller with a textfield to enter a phone number. The textfield is in editing mode with keyboard. , This solution worked
let rootViewController: UIViewController = UIApplication.sharedApplication().windows.rootViewController!!
rootViewController.presentViewController(alert, animated: true, completion: nil)