Поделиться через


UIPageViewController.SetViewControllers Метод

Определение

Задает отображаемые элементы UIViewControllers.

[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

Параметры

viewControllers
UIViewController[]
animated
Boolean
completionHandler
UICompletionHandler

Метод, вызываемый после завершения анимации.

Этот параметр может иметь значение null.

Атрибуты

Применяется к