Text truncation - SwiftUI
In SwiftUI, Text
views expand to multiple lines by default. To ensure that Text
views display without truncation, verify that you haven't set a lineLimit
.
To further avoid text truncation, especially when the text content exceeds the available screen space, it's recommended to place the Text
view inside a scrollable container like a ScrollView
.
ScrollView {
VStack {
Text("Appt")
// Other views
}
}