次の方法で共有


UIApplication.ApplicationSupportsShakeToEdit プロパティ

定義

デバイスを振って元に戻す/やり直しボタンを表示するかどうかを制御します。

[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

プロパティ値

既定では true に設定されているため、既定では、すべてのアプリケーションで振って元に戻す/やり直しがサポートされます。

属性

注釈

シェイク時に [元に戻す/やり直し] ダイアログ ボックスを表示する既定の動作を無効にする場合は、この値を false に設定します。

適用対象