Sets the truncation mode for lines of text that are too long to fit in the available space.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
The truncation mode.
A view that truncates text at different points in a line depending on the mode you select.
truncation modifier to determine whether text in a long line is truncated at the beginning, middle, or end. Truncation adds an ellipsis (…) to the line when removing text to indicate to readers that text is missing.