Hi,
I am planning to bring my fonts to iOS. However, it can only works on app but not system-wide. I did watch the WWDC video but have no idea how it works (no sample code/project).
Sample Code:
let fontURLs = [Bundle.main.url(forResource: "File", withExtension: "otf")!] as CFArray
CTFontManagerRegisterFontURLs(fontURLs, .none, true) { ...
Thank you.
Configuring custom fonts provides more details about how to contribute custom fonts for systemwide use. You might take a look, and if that doesn't help, post your concrete question to see if folks here can help.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.