Contents

navigationBarDrawer(displayMode:)

The search field appears in the navigation bar using the specified display mode.

Declaration

static func navigationBarDrawer(displayMode: SearchFieldPlacement.NavigationBarDrawerDisplayMode) -> SearchFieldPlacement

Parameters

  • 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.

See Also

Getting a search field placement