How do I create a multiline TextField in SwiftUI?
iOS 16 – beta TextFields can be configured to expand vertically using the new axis parameter. Also it takes the lineLimit modifier to limit the lines in the given range: TextField(“Title”, text: $text, axis: .vertical) .lineLimit(5…10) But the lineLimit modifier now also supports more advanced behaviors, like reserving a minimum amount of space and expanding … Read more