Download font .ttf file from web and store on iPhone

后端 未结 5 615
余生分开走
余生分开走 2020-12-18 11:39

Is it possible to download .ttf file from web and store it on iPhone. Then use that for for labels and all other stuff ? Because my client want to control fonts from databas

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-18 11:57

    The fonts have to be set in the plist of your app, and that file cannot be changed during runtime, so you need to compile your project with the fonts already added to it.

    You'll have to think in other way of implementing it.

提交回复
热议问题