iOS 13 has changed APIs around fonts, so CTFontCreateWithName does not any longer work properly (at least with system fonts). It results with warnings like this:
CoreText performance note: Client called CTFontCreateWithName() using name ".SFUI-Ultralight" and got font with PostScript name "TimesNewRomanPSMT". For best performance, only use PostScript names when calling this API.
and incorrect fonts to be shown.
Instead CTFontCreateWithFontDescriptor should be used.
iOS 13 has changed APIs around fonts, so
CTFontCreateWithName
does not any longer work properly (at least with system fonts). It results with warnings like this:and incorrect fonts to be shown.
Instead
CTFontCreateWithFontDescriptor
should be used.