All i found was this popoverControllerShouldDismissPopover: but im not actually managing to use and i dont even know thats right, someone knows how i can prevent a popover from closing when clicking in the outside?
In the view controller that is inside the popover you need to set ModalInPopover = true in its ViewDidAppear method:
public override void ViewDidAppear(bool animated)
ModalInPopover = true;
I'm not sure why it has to be in ViewDidAppear, but that's what seems to work.
UIPopoverControllerDelegate is replaced by C# delegates in MonoTouch. To implement that method simply declare the delegate:
popoverController.ShouldDismiss = popover => false;
Both answers worked thanks o/.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies