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)]
[get: Foundation.Export("applicationSupportsShakeToEdit")]
[get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[set: Foundation.Export("setApplicationSupportsShakeToEdit:")]
[set: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ApplicationSupportsShakeToEdit { get; 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