Call Method When User Taps Outside Popover

Discussion in 'iOS Programming' started by ahan.tm, Mar 31, 2012.

  1. ahan.tm macrumors regular

    Joined:
    Jun 26, 2011
    Location:
    Florida
    #1
    Hi,

    In my Universal app, I use a normal popover. However, when the user taps outside the popover, it dismisses. According to Apple's documentation, this happens automatically without need for coding. However, I need some code to run when the popover is dismissed. How can this be achieved?

    Thanks
     
  2. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    Isn't there a delegate method in the UIPopoverDelegate which is called when a popover is dismissed?
     

Share This Page