SearchScopeActivation

The ways that searchable modifiers can show or hide search scopes.

StructureiOS 16.4+macOS 13.3+tvOS 16.4+watchOS 9.4+SearchScopeActivation in SwiftUI

Declaration

React
type SearchScopeActivation = 'automatic' | 'onSearchPresentation' | 'onTextEntry';
Swift
struct SearchScopeActivation

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

Type properties

  • 'automatic'SwiftUI.SearchScopeActivation.automatic

    The automatic activation of the scope bar.

  • 'onSearchPresentation'SwiftUI.SearchScopeActivation.onSearchPresentation

    An activation where the system shows search scopes after presenting search and hides search scopes after search cancellation.

  • 'onTextEntry'SwiftUI.SearchScopeActivation.onTextEntry

    An activation where the system shows search scopes when typing begins in the search field and hides search scopes after search cancellation.

Used by

See also

More in Navigation.