navigationBarDrawer(displayMode:)
The search field appears in the navigation bar using the specified display mode.
Declaration
static func navigationBarDrawer(displayMode: SearchFieldPlacement.NavigationBarDrawerDisplayMode) -> SearchFieldPlacementParameters
- displayMode:
A control that indicates whether to hide the search field in response to scrolling.
Discussion
The field appears below any navigation bar title. The system can hide the field in response to scrolling, depending on the displayMode that you set.