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 focusedValue <Value>(WritableKeyPath <FocusedValues , Value?>, Value) -> some View
Modifies this view by injecting a value that you provide for use by other views whose state depends on the focused view hierarchy.
このビューを修正します、フォーカスされたビュー階層にそれの状態が依存する他のビューで使うためにあなたが提供するある値を注入することによって。
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 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.