New in SwiftUI 4: Expanding TextField
TextField in SwiftUI 4 now supports multiline view, meaning it can grow as you type to make more room for the content. This is accomplished with a newly addition to existing TextField API called axis.
In this article, we will learn how to use expanding TextField inside our apps.
So starting iOS 16 and SwiftUI 4, TextField has a new parameter called axis which takes two…