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 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 |