Download font .ttf file from web and store on iPhone

后端 未结 5 606
余生分开走
余生分开走 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 12:00

    You could use FontLabel (https://github.com/vtns/FontLabel) or smth. similar to load ttfs from the file system. I don't think that you can use downloaded fonts with a UILabel. Because you need the plist entries for each font.

提交回复
热议问题