The maximum number of lines that can be stored in the text container.
- iOS 7.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The layout manager uses the value of this property to determine the maximum number of lines associated with the text container. The default value of this property is
0, which indicates that there is no limit.