italicSystemFont(ofSize:)
Returns the font object for standard interface items in italic type in the specified size.
Declaration
class func italicSystemFont(ofSize fontSize: CGFloat) -> UIFontParameters
- fontSize:
The size (in points) for the font. This value must be greater than
0.0.
Return Value
A font object of the specified size.
Discussion
Instead of using this method to get a font, it’s often more appropriate to use preferredFont(forTextStyle:) because that method respects the user’s selected content size category.