A type that defines how the toolbar behaves when presenting search.
Use this type in combination with the
``View/searchPresentationToolbarBehavior(_:)``
Members (2)
get · iOS 17.1+
avoidHidingContent
TypeScript
static get avoidHidingContent(): SearchPresentationToolbarBehavior
Swift declaration
static var avoidHidingContent: SearchPresentationToolbarBehavior { get }
The avoid hiding content behavior.
In iOS, this will avoid hiding content in the toolbar as
it adapts to a search presentation. This has no effect on other
platforms.
get · iOS 17.1+
automatic
TypeScript
static get automatic(): SearchPresentationToolbarBehavior
Swift declaration
static var automatic: SearchPresentationToolbarBehavior { get }