Freigeben über


UIPageViewController.SetViewControllers Methode

Definition

Legt die uiViewController fest, die angezeigt werden sollen.

[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

Parameter

viewControllers
UIViewController[]
animated
Boolean
completionHandler
UICompletionHandler

Die Methode, die nach Abschluss der Animation aufgerufen werden soll.

Dieser Parameter kann null sein.

Attribute

Gilt für: