I have a simple View to retrieve User Input. I would like my TextField to span multiple lines. Any help is appreciated.
TextField("Content", text: $updatedReminderContent)
.onAppear {
self.updatedReminderContent = self.reminder.content!
}
}
I have a simple View to retrieve User Input. I would like my TextField to span multiple lines. Any help is appreciated.
TextField("Content", text: $updatedReminderContent)
.onAppear {
self.updatedReminderContent = self.reminder.content!
}
}
If your app is targeting iOS 14+, you can use TextEditor instead of TextField. Do you have any reason you cannot use it?