![]() The next thing to do is to make sure that they’re resources and included in your build target that you want to use the fonts in. Step 2: Make sure that they’re included in the target Make sure that the target you want to use your font in is checked! Whatever your case may be, either drag and drop your font file(s) into your XCode file tree or right click and “Add Files To…” to select your fonts. I find that this helps me stay organized as projects get much more complex and there are a lot of files. I commonly keep all of my app resources such as images or fonts in their own directory called “Resources”. Well, the first step is to include these fonts into your XCode project. Most commonly, you’ll have a TTF or OTF font that you’ll want to use with all of your UILabels or UITextViews in your app. Step 1: Include your fonts in your XCode project Taking a minute to check it ensures you won’t get into legal trouble down the road. The license can usually be found with your font download or on the site where you bought/downloaded it. Make sure you have a proper font license for mobile/app embedding. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |