Detecting touch in popupBackgroundView
akahnn opened this issue · comments
Abdullah Kahn commented
I would like to take an action, when ever the popup is closed by tapping the bgView.
Is there a method to do so? If not please advice a solution.
Álex Cortiñas commented
In the example, exactly here, you can change it to:
[self presentPopupViewController:detailViewController animationType:indexPath.row dismissed:^{
NSLog(@"dismissed");
//This will happen when the popup is closed by tapping the bgView
}];