Hello, We no longer can update manually the focusState.
@FocusState var focused:Bool
var body: some View {
Text("tapMe")
.onTapGesture { focused = true; print(focused) /** focused = false */ }
}
Best.
Hello, We no longer can update manually the focusState.
@FocusState var focused:Bool
var body: some View {
Text("tapMe")
.onTapGesture { focused = true; print(focused) /** focused = false */ }
}
Best.
Some more context, the FocusState should be attributed to a focused modifier itself to a TextField or a TextEditor or whatever view you want to be .focusable(), but the goal here is to notice the weird "new" behavior of the FocusState. Is it the way FocusState should work in ios17 ?