Add a key to your ist file called UIAppFonts.Add your custom font files into your project using Xcode as a resource.There is an ongoing thread on Apple Developer Forums:Īnd here's an excellent and simple 3 steps tutorial on how to achieve this (broken link removed) Once the fonts have been set in the ist, you can use your custom fonts as any other font in IB or programatically. When the system sees the key, it loads the specified fonts and makes them available to the application. The value of this key is an array of strings identifying the font files in the application’s bundle. Straight from the What's New in iPhone OS 3.2 doc:Īpplications that want to use custom fonts can now include those fonts in their application bundle and register those fonts with the system by including the UIAppFonts key in their ist file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |