---
title: automatic
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/searchsuggestionsplacement/automatic
---

# automatic

Search suggestions render automatically based on the surrounding context.

## Declaration

```swift
static var automatic: SearchSuggestionsPlacement { get }
```

## Discussion

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

- [content](swiftui/searchsuggestionsplacement/content.md)
- [menu](swiftui/searchsuggestionsplacement/menu.md)
