Protocol

UIPageViewControllerDelegate

The delegate of a page view controller must adopt the UIPageViewControllerDelegate protocol. These methods allow the delegate to receive a notification when the device orientation changes and when the user navigates to a new page. For page-curl style transitions, the delegate can provide a different spine location in response to a change in the interface orientation.

Declaration

@protocol UIPageViewControllerDelegate

Topics

Responding to Page View Controller Events

- pageViewController:willTransitionToViewControllers:

Called before a gesture-driven transition begins.

- pageViewController:spineLocationForInterfaceOrientation:

Returns the spine location for the given orientation.

Overriding View Rotation Settings

- pageViewControllerSupportedInterfaceOrientations:

Returns the complete set of supported interface orientations for the page view controller, as determined by the delegate.

- pageViewControllerPreferredInterfaceOrientationForPresentation:

Returns the preferred orientation for presentation of the page view controller, as determined by the delegate.

Relationships

Inherits From

See Also

Customizing the Page View Behavior

delegate

The delegate object.