編輯

共用方式為


UISearchDisplayController.DisplaysSearchBarInNavigationBar Property

Definition

Whether the navigation bar contains a search bar.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool DisplaysSearchBarInNavigationBar { [Foundation.Export("displaysSearchBarInNavigationBar")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setDisplaysSearchBarInNavigationBar:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.DisplaysSearchBarInNavigationBar : bool with get, set

Property Value

Attributes

Applies to