Package apple.uikit.protocol
Interface UIPageViewControllerDelegate
-
public interface UIPageViewControllerDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpageViewControllerDidFinishAnimatingPreviousViewControllersTransitionCompleted(UIPageViewController pageViewController, boolean finished, NSArray<? extends UIViewController> previousViewControllers, boolean completed)Sent when a gesture-initiated transition ends.default longpageViewControllerPreferredInterfaceOrientationForPresentation(UIPageViewController pageViewController)default longpageViewControllerSpineLocationForInterfaceOrientation(UIPageViewController pageViewController, long orientation)Delegate may specify a different spine location for after the interface orientation change.default longpageViewControllerSupportedInterfaceOrientations(UIPageViewController pageViewController)default voidpageViewControllerWillTransitionToViewControllers(UIPageViewController pageViewController, NSArray<? extends UIViewController> pendingViewControllers)Sent when a gesture-initiated transition begins.
-
-
-
Method Detail
-
pageViewControllerDidFinishAnimatingPreviousViewControllersTransitionCompleted
default void pageViewControllerDidFinishAnimatingPreviousViewControllersTransitionCompleted(UIPageViewController pageViewController, boolean finished, NSArray<? extends UIViewController> previousViewControllers, boolean completed)
Sent when a gesture-initiated transition ends. The 'finished' parameter indicates whether the animation finished, while the 'completed' parameter indicates whether the transition completed or bailed out (if the user let go early).
-
pageViewControllerSpineLocationForInterfaceOrientation
default long pageViewControllerSpineLocationForInterfaceOrientation(UIPageViewController pageViewController, long orientation)
Delegate may specify a different spine location for after the interface orientation change. Only sent for transition style 'UIPageViewControllerTransitionStylePageCurl'. Delegate may set new view controllers or update double-sided state within this method's implementation as well.
-
pageViewControllerWillTransitionToViewControllers
default void pageViewControllerWillTransitionToViewControllers(UIPageViewController pageViewController, NSArray<? extends UIViewController> pendingViewControllers)
Sent when a gesture-initiated transition begins.
-
pageViewControllerPreferredInterfaceOrientationForPresentation
default long pageViewControllerPreferredInterfaceOrientationForPresentation(UIPageViewController pageViewController)
-
pageViewControllerSupportedInterfaceOrientations
default long pageViewControllerSupportedInterfaceOrientations(UIPageViewController pageViewController)
-
-