UIPageViewController.SetViewControllersAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the UIViewControllers to be displayed.
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>
Parameters
- viewControllers
- UIViewController[]
- direction
- UIPageViewControllerNavigationDirection
- animated
- Boolean
Returns
A task that represents the asynchronous SetViewControllers operation. The value of the TResult parameter is a UICompletionHandler.
Remarks
The SetViewControllersAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.