Package apple.uikit.protocol
Interface UIPageViewControllerDelegate
-
public interface UIPageViewControllerDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpageViewControllerDidFinishAnimatingPreviousViewControllersTransitionCompleted(@NotNull UIPageViewController pageViewController, boolean finished, @NotNull NSArray<? extends UIViewController> previousViewControllers, boolean completed)Sent when a gesture-initiated transition ends.default longpageViewControllerPreferredInterfaceOrientationForPresentation(@NotNull UIPageViewController pageViewController)API-Since: 7.0default longpageViewControllerSpineLocationForInterfaceOrientation(@NotNull UIPageViewController pageViewController, long orientation)Delegate may specify a different spine location for after the interface orientation change.default longpageViewControllerSupportedInterfaceOrientations(@NotNull UIPageViewController pageViewController)API-Since: 7.0default voidpageViewControllerWillTransitionToViewControllers(@NotNull UIPageViewController pageViewController, @NotNull NSArray<? extends UIViewController> pendingViewControllers)Sent when a gesture-initiated transition begins.
-
-
-
Method Detail
-
pageViewControllerDidFinishAnimatingPreviousViewControllersTransitionCompleted
default void pageViewControllerDidFinishAnimatingPreviousViewControllersTransitionCompleted(@NotNull @NotNull UIPageViewController pageViewController, boolean finished, @NotNull @NotNull 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(@NotNull @NotNull 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(@NotNull @NotNull UIPageViewController pageViewController, @NotNull @NotNull NSArray<? extends UIViewController> pendingViewControllers)Sent when a gesture-initiated transition begins. API-Since: 6.0
-
pageViewControllerPreferredInterfaceOrientationForPresentation
default long pageViewControllerPreferredInterfaceOrientationForPresentation(@NotNull @NotNull UIPageViewController pageViewController)API-Since: 7.0
-
pageViewControllerSupportedInterfaceOrientations
default long pageViewControllerSupportedInterfaceOrientations(@NotNull @NotNull UIPageViewController pageViewController)API-Since: 7.0
-
-