In my application I have a presentViewController
, and inside it I have a button that opens a popover. In this popover I have a barButtonItem to save de data of this popover. I would like that when the user taps outside of the popover, the data could be saved too.
I've tried to use the popoverControllerDidDismissPopover
method in the presentViewController
view. I have the delegate but when I tap outside of the popover this method is not called.
What can I do?
Thanks!!