Is there a right mechanism to dismiss a UIPopoverController from the controller that I've passed in the ctor?
_popover = new UIPopoverController(myController);
From myController instance, I would dismiss the popover but I can't find any system UIViewController property to do that.
A fix is to create a public property in MyController class of type UIPopoverController and then set it when I create the _popover instance. But I think it's not so good开发者_如何学运维.
myController.PopOverProperty = _popover;
_popover.Dismiss(true);
Do you need this?
精彩评论