Used for transitioning between two view controller's child view controllers.
Syntax
[Foundation.Export("transitionFromViewController:toViewController:duration:options:animations:completion:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual
void Transition (
UIViewController fromViewController,
UIViewController toViewController,
double duration,
UIViewAnimationOptions options, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAction))]
Action animations, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUICompletionHandler))]
UICompletionHandler completionHandler)
Parameters
- fromViewController
- The view controller that initiates the action and which is currently visible in the parent hierarchy.
- toViewController
- The target view controller (not currently visible).
- duration
- Total duration of the animations, measured in seconds.
- options
- A mask of options that determines how you want the animations performed.
- animations
- An action object containing the changes that the application developer wants to commit to the views. Here is where developers can modify any animatable properties of the views.
- completionHandler
- A completion action to be called when the animation completes.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0