Instance Method

prepareForPopoverPresentation:

Notifies the delegate that the popover is about to be presented.

Declaration

- (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popoverPresentationController;

Parameters

popoverPresentationController

The popover presentation controller that is about to display the popover.

Discussion

Use this method to perform any last minute customizations of the popover appearance and behavior. At the time this method is called, the popover is not yet on the screen. You can use this method to modify the configuration of the popover presentation controller or perform any other actions that your app requires.

See Also

Presenting and Dismissing the Popover

- popoverPresentationControllerShouldDismissPopover:

Asks the delegate if the popover should be dismissed.

Deprecated
- popoverPresentationControllerDidDismissPopover:

Tells the delegate that the popover was dismissed.

Deprecated