TextField ("Name", text: $name) 我找到了这个方法 func focusable(_ isFocusable: Bool = true, onFocusChange: @escaping (Bool) -> Void = { _ in }) -> some View
確定! 回上一頁