Instance Property

allowsDefaultTighteningForTruncation

A Boolean value indicating whether the label tightens text before truncating.

Declaration

@property(nonatomic) BOOL allowsDefaultTighteningForTruncation;

Discussion

When this property is set to YES, the label tightens intercharacter spacing of its text before allowing any truncation to occur. The label determines the maximum amount of tightening automatically based on the font, current line width, line break mode, and other relevant information.

The default value of this property is NO.

See Also

Sizing the Label’s Text

adjustsFontSizeToFitWidth

A Boolean value indicating whether the font size should be reduced in order to fit the title string into the label’s bounding rectangle.

baselineAdjustment

Controls how text baselines are adjusted when text needs to shrink to fit in the label.

minimumScaleFactor

The minimum scale factor supported for the label’s text.

numberOfLines

The maximum number of lines to use for rendering text.

adjustsLetterSpacingToFitWidth

A Boolean value indicating whether spacing between letters should be adjusted to fit the string within the label’s bounds rectangle.

Deprecated
minimumFontSize

The size of the smallest permissible font with which to draw the label’s text.

Deprecated