Deprecated UILabel Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in iOS 6.0
The size of the smallest permissible font with which to draw the label’s text. (Deprecated in iOS 6.0. Use
When drawing text that might not fit within the bounding rectangle of the label, you can use this property to prevent the receiver from reducing the font size to the point where it is no longer legible.
The default value for this property is 0.0. If you enable font adjustment for the label, you should always increase this value. This property is effective only when the
numberOfLines property is set to 1.
- Available in iOS 2.0 and later.
- Deprecated in iOS 6.0.
Deprecated in iOS 7.0
A Boolean value indicating whether spacing between letters should be adjusted to fit the string within the label’s bounds rectangle. (Deprecated in iOS 7.0. Hand tune instead by using
NSKernAttributeName to affect tracking.)
When this property is
YES, the label may alter the letter spacing of the label text to make that text fit better within the label’s bounds. This property is applied to the string regardless of the current line break mode. The default value of this property is
If the value of this property to
YES, the label to ignore values value returned by the
tighteningFactorForTruncation method of any
NSParagraphStyle objects associated with the label text.
- Available in iOS 6.0 and later.
- Deprecated in iOS 7.0.