Return Value 戻り値
The modified view.
Availability 有効性
Technology
func accessibilityFocused<Value>(_ binding: AccessibilityFocusState
<Value>.Binding
, equals value: Value) -> some View
where Value : Hashable
The modified view.
binding
The state binding to register. When accessibility focus moves to the accessibility element of the modified view, SwiftUI sets the bound value to the corresponding match value. If you set the state value programmatically to the matching value, then accessibility focus moves to the accessibility element of the modified view. SwiftUI sets the value to nil
if accessibility focus leaves the accessibility element associated with the modified view, and programmatically setting the value to nil
dismisses focus automatically.
value
The value to match against when determining whether the binding should change.