編輯

共用方式為


UINavigationController.InteractivePopGestureRecognizer Property

Definition

A gesture recognizer for the left-edge-to-interior "back" gesture.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIGestureRecognizer InteractivePopGestureRecognizer { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("interactivePopGestureRecognizer", ObjCRuntime.ArgumentSemantic.Copy)] get; }
member this.InteractivePopGestureRecognizer : UIKit.UIGestureRecognizer

Property Value

Attributes

Remarks

iOS 7 added a new standard gesture, in which the application user drags from the left side of the screen towards the interior. This gesture is intended to be used for backwards navigation; in the case of a UINavigationController, it should normally be associated with an "interactive pop" of the current UIViewController.

Applies to