共用方式為


UISearchController.DimsBackgroundDuringPresentation 屬性

定義

取得或設定是否要在搜尋期間將內容變暗。 預設為 true

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

屬性值

屬性

適用於