Naresh
Naresh

Reputation: 363

Which method will excute while dismissing the popover by tapping on the view

Hi in my application whenever i tap on the view. The launched popover will get dismiss automatically. May i know which method will execute for getting this behavior.Thanks in advance.

Upvotes: 0

Views: 43

Answers (1)

Benny
Benny

Reputation: 5092

Make your main view controller the delegate for the popover controller and implement the – popoverControllerDidDismissPopover: method. Take a look at Apple's documentation for help.

Apple's Documentation

Upvotes: 3

Related Questions