How is it possible to show the complete List when the keyboard is showing up? The keyboard is hiding the lower part of the list.
I have a textField in my list row. W
If you install SwiftUIX, all you need to do is called, .padding(.keyboard)
on the View that contains the list. This is by far the best and simplest solution I have seen!
import SwiftUIX
struct ExampleView: View {
var body: some View {
VStack {
List {
ForEach(contacts, id: \.self) { contact in
cellWithContact(contact)
}
}
}.padding(.keyboard) // This is all that's needed, super cool!
}
}