Share via


UIPageViewController.SetViewControllersAsync 메서드

정의

표시할 UIViewControllers를 설정합니다.

public virtual System.Threading.Tasks.Task<bool> SetViewControllersAsync (UIKit.UIViewController[] viewControllers, UIKit.UIPageViewControllerNavigationDirection direction, bool animated);
abstract member SetViewControllersAsync : UIKit.UIViewController[] * UIKit.UIPageViewControllerNavigationDirection * bool -> System.Threading.Tasks.Task<bool>
override this.SetViewControllersAsync : UIKit.UIViewController[] * UIKit.UIPageViewControllerNavigationDirection * bool -> System.Threading.Tasks.Task<bool>

매개 변수

viewControllers
UIViewController[]
animated
Boolean

반환

비동기 SetViewControllers 작업을 나타내는 작업입니다. TResult 매개 변수의 값은 입니다 UICompletionHandler.

설명

SetViewControllersAsync 메서드는 작업을 나타내는 Task를 사용하여 호출자에게 컨트롤을 반환하여 C# 비동기에서 사용하는 데 적합합니다.

추가될 예정입니다.

적용 대상