FontHelper
class FontHelper : NSObject
Undocumented
-
Declaration
Swift
@available(iOS 11.0, *) static func getScaledFont(forFont name: String, textStyle: UIFont.TextStyle) -> UIFont
Parameters
name
Name of the UIFont whose scaled version you wish to obtain.
textStyle
The text style for your font, i.e Body, Title etc…
Return Value
The scaled UIFont version with the given textStyle