Interface UIPageViewControllerDelegate


  • public interface UIPageViewControllerDelegate
    • 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)