![]() The above project file structure inside the font library to view the file name and the code inside the fonts used: woziku-bsdsm-cn4262 is a good explanation. We need to print the font library in Xcode to see the name of our font library. One thing to note: The name of the font file is not necessarily the name of the font library. Integration and use of third-party fonts, without the above difficulties, follow the appropriate steps to do so. In the print results, we can see the three fonts we added: Amano,amelia BT and woziku-bsdsm-cn4262. 打印字体letUIFont.familyNames()print(fonts) Let testLabel = UILabel.init(frame: CGRectMake(10012012050))testLabel.font = UIFont.init"woziku-bsdsm-CN4262"20)testLabel.text"湖工电气"testLabel.textAlignment = UIColor.orangeColor()(testLabel)4. ![]() UIAppFonts Amano.ttf Amelia BT.ttf Wzk.ttf 3. Or add the following code to the ist source: ![]() Increase fonts provided by application in ist Share It Bangla Sangam MN is a trademark of Muthu Nedumaran. TTF font and drag the font into the project.Ģ. The first page is the SWIFT code using third-party fonts, and the second page is OC using third-party fonts. Provide a font download address: Find the font. In the process of development, sometimes the fonts provided by Xcode do not meet our needs, so we need to add additional third-party fonts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |