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