I have a TextField in my iOS app, and it is positioned such that I don't want it to move when the keyboard appears. However, the view is autoresizing when the keyboard appears. Is there a way to prevent this?
import SwiftUI
struct test: View {
@State var text: String = ""
var body: some View {
TextField("Type", text: self.$text)
}
}