SearchPresentationToolbarBehavior

A type that defines how the toolbar behaves when presenting search.

StructureiOS 17.1+macOS 14.1+tvOS 17.1+watchOS 10.1+SearchPresentationToolbarBehavior in SwiftUI

Declaration

React
type SearchPresentationToolbarBehavior = 'automatic' | 'avoidHidingContent';
Swift
struct SearchPresentationToolbarBehavior

Pass a literal, or build one with SwiftUI.SearchPresentationToolbarBehavior from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Overview

Use this type in combination with the View.searchPresentationToolbarBehavior(_:)

From Apple’s SwiftUI documentation. Code samples there are Swift.

Used by

See also

More in Navigation.