Hi!
I am getting the next warning returned when the textfield is focused. Xcode version: 14.3.1. Should I ignore it ?
2023-09-06 20:55:04.483056+0200 Delete1[6598:29619] [Query] Error for >queryMetaDataSync: 2 2023-09-06 20:55:04.487287+0200 Delete1[6598:29619] [Query] Error for >queryMetaDataSync: 2 2023-09-06 20:55:04.974905+0200 Delete1[6598:30000] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000026e3f60> F8BB1C28-BAE8-11D6-9C31-00039315CD46
import SwiftUI
struct ContentView: View {
@State private var username: String = ""
@FocusState private var usernameInFocus: Bool
var body: some View {
VStack {
TextField("Addd", text: $username)
.focused($usernameInFocus)
.padding(.leading)
.frame(height:55)
.frame(maxWidth: .infinity)
.background(Color.gray.brightness(0.3))
.cornerRadius(10)
Button("toggle"){
usernameInFocus.toggle()
}
}
.padding(44)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}