Düzenle

Aracılığıyla paylaş


UIApplication.ApplicationSupportsShakeToEdit Property

Definition

Controls whether shaking the device will bring up the undo/redo buttons.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ApplicationSupportsShakeToEdit { [Foundation.Export("applicationSupportsShakeToEdit")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setApplicationSupportsShakeToEdit:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ApplicationSupportsShakeToEdit : bool with get, set

Property Value

It defaults to true, so all applications by default support undo/redo by shaking.

Attributes

Remarks

Set this value to false if you want to disable the default behavior that shows an undo/redo dialog box on shake.

Applies to