One Logo Pool Ball
SwiftUI · IOS API REFERENCE

SearchFieldPlacement.NavigationBarDrawerDisplayMode

struct · iOS 15.0+ · SDK 27.1

struct NavigationBarDrawerDisplayMode

A mode that determines when to display a search field that appears in a navigation bar.

Members (2)

get · iOS 15.0+

always

TypeScript
static get always(): SearchFieldPlacement_NavigationBarDrawerDisplayMode
Swift declaration
static let always: SearchFieldPlacement.NavigationBarDrawerDisplayMode

Always display the search field regardless of the scroll activity.

get · iOS 15.0+

automatic

TypeScript
static get automatic(): SearchFieldPlacement_NavigationBarDrawerDisplayMode
Swift declaration
static let automatic: SearchFieldPlacement.NavigationBarDrawerDisplayMode

Enable hiding the search field in response to scrolling.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →