Interface UIPageControlProgressDelegate

    • Method Detail

      • pageControlProgressInitialProgressForPage

        default float pageControlProgressInitialProgressForPage​(@NotNull
                                                                @NotNull UIPageControlProgress progress,
                                                                long page)
        Returns the initial progress (between 0...1) for the specified page. By default, `currentProgress` is set to 0 when the page changes.
      • pageControlProgressVisibilityDidChange

        default void pageControlProgressVisibilityDidChange​(@NotNull
                                                            @NotNull UIPageControlProgress progress)
        Called when the page control progress visibility has changed, which could occur when the page control is being interacted with. The page control progress becomes hidden when the user begins to interact with the page control (when it begins continuous interaction), and is visible again when the user stops interacting with the control. Observe the page control progress visibility to pause or resume the paging content. Example: [@code] - (void)pageControlProgressVisibilityDidChange:(UIPageControlProgress *)progress { BOOL isProgressVisible = progress.isProgressVisible; if (isProgressVisible) { [self _resumeContentFromInteractionChanges]; } else { [self _pauseContentFromInteractionChanges]; } } [@endcode]