Upravit

Sdílet prostřednictvím


UIPrintInteractionController.PresentAsync Method

Definition

Overloads

PresentAsync(Boolean)

Presents an iPhone printing user interface.

PresentAsync(Boolean, Boolean)

Presents an iPhone printing user interface asynchronously.

PresentAsync(Boolean)

Presents an iPhone printing user interface.

public virtual System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult> PresentAsync (bool animated);
abstract member PresentAsync : bool -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>
override this.PresentAsync : bool -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>

Parameters

animated
Boolean

to animate the sheet display, to display immediately.

Returns

A task that represents the asynchronous Present operation. The value of the TResult parameter is of type Action<UIKit.UIPrintInteractionResult>.

Applies to

PresentAsync(Boolean, Boolean)

Presents an iPhone printing user interface asynchronously.

public virtual System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult> PresentAsync (bool animated, out bool result);
abstract member PresentAsync : bool *  -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>
override this.PresentAsync : bool *  -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>

Parameters

animated
Boolean

true to animate the sheet display, false to display immediately.

result
Boolean

The result of the present operation.

Returns

A task that represents the asynchronous Present operation. The value of the TResult parameter is of type UIPrintInteractionResult.

Applies to