Why is popoverPresentationControllerShouldDismissPopover deprectated, respectively what is going to replace this functionality?
I did not call popoverPresentationControllerShouldDismissPopover by myself. This method is called by the popover presentation controller beforre it dismisses the popover.
BTW: I have overseen that UIAdaptivePresentationControllerDelegate implements a method
presentationControllerShouldDismiss. Therefore, popoverPresentationControllerShouldDismissPopover is not needed anymore.