Partager via


UIApplication.ApplicationSupportsShakeToEdit Propriété

Définition

Contrôle si le fait de secouer l’appareil affiche les boutons annuler/rétablir.

[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

Valeur de propriété

La valeur par défaut est true. Par conséquent, toutes les applications prennent en charge l’annulation/la restauration par tremblement.

Attributs

Remarques

Définissez cette valeur sur false si vous souhaitez désactiver le comportement par défaut qui affiche une boîte de dialogue annuler/rétablir lors de l’opération d’ébranler.

S’applique à