編輯

共用方式為


IUIViewControllerContextTransitioning Interface

Definition

Interface representing the required methods (if any) of the protocol UIViewControllerContextTransitioning.

[Foundation.Protocol(Name="UIViewControllerContextTransitioning", WrapperType=typeof(UIKit.UIViewControllerContextTransitioningWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIViewControllerContextTransitioning : IDisposable, ObjCRuntime.INativeObject
type IUIViewControllerContextTransitioning = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIViewControllerContextTransitioning.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIViewControllerContextTransitioning protocol.

Optional methods (if any) are provided by the UIViewControllerContextTransitioning_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

ContainerView

The UIView that is the superview of the UIView's involved in the transition.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
IsAnimated

Whether a modal presentation should be animated.

IsInteractive

Whether a presentation should be interactive.

PresentationStyle

The presentation style of the transition.

TargetTransform

Gets the transform that indicates the angle of the rotation that is applied during the transition.

TransitionWasCancelled

Whether the transition was cancelled.

Methods

CancelInteractiveTransition()

Indicates that a user action canceled the transition.

CompleteTransition(Boolean)

Indicates the transition animation has completed.

FinishInteractiveTransition()

User interactions have signaled the end of the transition.

GetFinalFrameForViewController(UIViewController)

The ending RectangleF for the Frame of the specified UIViewController's UIView.

GetInitialFrameForViewController(UIViewController)

The beginning RectangleF for the Frame of the specified UIViewController's UIView.

GetViewControllerForKey(NSString)

Retrieves the UIViewController associated with the specified uiTransitionKey.

GetViewFor(NSString)

Returns the to- or from-key for the transition.

UpdateInteractiveTransition(nfloat)

Updates the percentage completion of the transition.

Extension Methods

PauseInteractiveTransition(IUIViewControllerContextTransitioning)

Pauses the animations.

Applies to