Instance Property


A Boolean that indicates whether the object automatically updates its font when the device's content size category changes.



@property(nonatomic) BOOL adjustsFontForContentSizeCategory;


Set the value of this property to YES to allow the element to update its font when the size category changes. Set the value to NO to ignore the size category changes.

For this property to take effect, the element’s font must be vended one of the following ways:

Because fonts are immutable, any element that adjusts for an updated content size category does not modify the font itself. Instead, the element replaces the assigned font with a new instance based on the original settings.

If you set this property to YES, the element adjusts for a new content size category on a UIContentSizeCategoryDidChangeNotification.