MonoTouch.UIKit.UIViewController.TransitionAsync Method
Transitions from one child to another.

Syntax

public virtual System.Threading.Tasks.Task<bool> TransitionAsync (UIViewController fromViewController, UIViewController toViewController, double duration, UIViewAnimationOptions options, [MonoTouch.ObjCRuntime.BlockProxy(typeof(MonoTouch.ObjCRuntime.Trampolines/NIDNSAction))] MonoTouch.Foundation.NSAction animations)

Parameters

fromViewController
The from which the transition originates.
toViewController
The to which the transition changes.
duration
The duration of the transition, in seconds.
options
Animation options.
animations
An function to animate the transition. Must not be .

Returns

A task that represents the asynchronous Transition operation. The value of the TResult parameter is a MonoTouch.UIKit.UICompletionHandler.

Remarks

The TransitionAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0