Contents

automatic

Search suggestions render automatically based on the surrounding context.

Declaration

static var automatic: SearchSuggestionsPlacement { get }

Discussion

The behavior varies by platform:

  • In iOS and iPadOS, suggestions render as a list overlaying the main content of the app.

  • In macOS, suggestions render in a menu.

  • In tvOS, suggestions render as a row underneath the search field.

  • In watchOS, suggestions render in a list pushed onto the containing navigation stack.

See Also

Getting placements