func focused<Value>(FocusState <Value>.Binding, equals: Value) -> some View
Modifies this view by binding its focus state to the given state value.
func focused(FocusState <Bool>.Binding) -> some View
Modifies this view by binding its focus state to the given Boolean state value.
func focusedSceneValue <T>(WritableKeyPath <FocusedValues , T?>, T) -> some View
Modifies this view by injecting a value that you provide for use by other views whose state depends on the focused scene.
func prefersDefaultFocus (Bool, in: Namespace.ID) -> some View
Indicates that the view should receive focus by default for a given namespace.
func focusScope (Namespace.ID) -> some View
Creates a focus scope that SwiftUI uses to limit default focus preferences.
func focusSection () -> some View
Indicates that the view’s frame and cohort of focusable descendants should be used to guide focus movement.
func focusable(Bool) -> some View
Specifies if the view is focusable.