Download and install the font in iphone during application launch

I have fonts links where I can download fontName.ttf from. Now that the user selects a specific font, I want to download and install it and use it for the tag. Can I add a line to the Plist Fonts provided by the application programmatically? And where should I save fontName.ttf, so the application will use it.

+4
source share
2 answers

The settings package is located inside the application package, so you cannot change it at run time, only at compile time. So this is not possible.

You can check various solutions:

Body Text Fonts: Dynamic Custom Font Downloader in iOS

NSUserDefaults: Can I change the dynamic set of Root.plist in parameters?

0
source

Unable to add and remove any item from the package at runtime.

-1
source

Source: https://habr.com/ru/post/1478936/


All Articles