UIPrintInteractionController.PresentAsync Method

Definition

Overloads

Name Description
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.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult> PresentAsync(bool animated);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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>.

Attributes

Applies to

PresentAsync(Boolean, Boolean)

Presents an iPhone printing user interface asynchronously.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult> PresentAsync(bool animated, out bool result);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PresentAsync : bool * bool -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>
override this.PresentAsync : bool * 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.

Attributes

Applies to