I am trying to make a TextField in SwiftUI that extends vertically as the user types rather than continuing to the right and scrolling along as the normal behavior is. How would I do this? This is what my current basic TextField is:
TextField("", text: $response)
.overlay(
RoundedRectangle(cornerRadius: 5.0)
.stroke(Color.black, lineWidth: 1)
.shadow(radius: 5)
)
.padding()