What is ios system fonts name???

Hi ,


I develop application by embarcadero software but I have problem about thai fonts.


I need to know what is IOS system name


Thank you,

YAI

Replies

Do you need to know the system font ?


Then use:

let theFont = systemFont(ofSize: 20)     // adapt the size


You have also API for bold, …

class func systemFont(ofSize: CGFloat, weight: UIFont.Weight)

Returns the font object used for standard interface items in the specified size and weight.

class func boldSystemFont(ofSize: CGFloat)

Returns the font object used for standard interface items that are rendered in boldface type in the specified size.

class func italicSystemFont(ofSize: CGFloat)

Returns the font object used for standard interface items that are rendered in italic type in the specified size.