FUIWhatsNewViewControllerDelegate
public protocol FUIWhatsNewViewControllerDelegate : AnyObject
This protocol provides the method for the callback function for FUIWhatsNewViewControllerDelegate.
It will be used by the application to customize the What’s New Screen.
-
Callback for responding to Page View Controller Events.
Called before a gesture-driven transition begins.
Declaration
Swift
func whatsNewViewController(_ whatsNewViewController: FUIWhatsNewViewController, willTransitionTo pendingViewControllerIndex: Int)Parameters
whatsNewViewControllerpendingViewControllerIndexThe index to the page that will be transitioned to.
-
Callback for responding to Page View Controller Events.
Called after a gesture-driven transition completes.
Declaration
Swift
func whatsNewViewController(_ whatsNewViewController: FUIWhatsNewViewController, didFinishAnimating finished: Bool, previousViewControllerIndex: Int, transitionCompleted completed: Bool)Parameters
whatsNewViewControllerfinishedtrue if the animation finished; otherwise false.
previousViewControllersThe view controllers prior to the transition.
completedtrue if the user completed the page-turn gesture; otherwise false.
-
Callback for responding to Page View Controller Events.
Called after a page view flow finished.
Declaration
Swift
func didFinishFlow(_ whatsNewViewController: FUIWhatsNewViewController)Parameters
whatsNewViewController