共用方式為


UISearchController.ObscuresBackgroundDuringPresentation 屬性

定義

取得或設定布林值,控制控制器在執行搜尋時是否遮蔽內容。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ObscuresBackgroundDuringPresentation { [Foundation.Export("obscuresBackgroundDuringPresentation")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setObscuresBackgroundDuringPresentation:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ObscuresBackgroundDuringPresentation : bool with get, set

屬性值

屬性

適用於