isSimpleRectangularTextContainer
A Boolean that indicates whether the text container’s region is a rectangle with no holes or gaps, and whose edges are parallel to the text view’s coordinate system axes.
Declaration
var isSimpleRectangularTextContainer: Bool { get }Discussion
The value of this property is true when the text container’s region is a rectangle with no holes or gaps and the edges are parallel to the text view’s coordinate system axes. The default value of this property is false when the exclusionPaths property contains one or more items, when the maximumNumberOfLines property is not zero, or when you override the lineFragmentRect(forProposedRect:at:writingDirection:remaining:) method. Otherwise, the default value is true.