Posts

Post not yet marked as solved
2 Replies
I found that if you ever use UIFont(name:) with the font that you loaded dynamically. that the CTFontManagerUnregisterFontsForURL doesn't work as stated above.So the workaround is to uselet desc = UIFontDescriptor(name: <name>, size: <size>)let font = UIFont(descriptor: desc, size: <size>)If at any time you use UIFont(name: <name>) the unregister doesn't really unregister it.Not I found this to be the case with CTFontManager Register/Unregstier FontsForURL api and GraphicsFont apis.