UIPageViewController.SetViewControllers Method

Definition

Sets the UIViewControllers to be displayed.

[Foundation.Export("setViewControllers:direction:animated:completion:")]
public virtual void SetViewControllers (UIKit.UIViewController[] viewControllers, UIKit.UIPageViewControllerNavigationDirection direction, bool animated, UIKit.UICompletionHandler completionHandler);
abstract member SetViewControllers : UIKit.UIViewController[] * UIKit.UIPageViewControllerNavigationDirection * bool * UIKit.UICompletionHandler -> unit
override this.SetViewControllers : UIKit.UIViewController[] * UIKit.UIPageViewControllerNavigationDirection * bool * UIKit.UICompletionHandler -> unit

Parameters

viewControllers
UIViewController[]
animated
Boolean
completionHandler
UICompletionHandler

The method to invoke when the animation completes.

This parameter can be null.

Attributes

Applies to