messageFont(ofSize:)
Returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size.
Declaration
class func messageFont(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
If fontSize is 0 or negative, returns this font at the default size. This method is equivalent to systemFont(ofSize:).