controlContentFont(ofSize:)
Returns the font used for the content of controls in the specified size.
Declaration
class func controlContentFont(ofSize fontSize: CGFloat) -> NSFontParameters
- fontSize:
The size in points to which the font is scaled.
Return Value
A font object of the specified size.
Discussion
For example, in a table, the user’s input uses the control content font, and the table’s header uses another font. If fontSize is 0 or negative, returns the control content font at the default size.