Deprecated UILabel Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 6.0

minimumFontSize

The size of the smallest permissible font with which to draw the label’s text. (Deprecated in iOS 6.0. Use minimumScaleFactor instead.)

@property(nonatomic) CGFloat minimumFontSize
Discussion

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.

Availability
  • Available in iOS 2.0 and later.
  • Deprecated in iOS 6.0.
Related Sample Code
Declared In
UILabel.h

Did this document help you? Yes It's good, but... Not helpful...