How to use custom font?(font that doesn't exist in iphone)
            Asked
            
        
        
            Active
            
        
            Viewed 2,082 times
        
    3 Answers
5
            
            
        Since you mention iphone-sdk-4.0 as one of your tags, it means that you can use the UIAppFonts key on your app. UIAppFonts was introduced on iOS 3.2.
The key to be added on your property list: http://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW3
 
    
    
        vfn
        
- 6,026
- 2
- 34
- 45
1
            
            
        Ex. Add the font files to your resource files Edit your Info.plist: Add a new entry with the key Fonts provided by application. For each of your files, add the file name to this array
First you can install a custom font in your app pick original font name then rename your font file name.
 [LblTwitter  setFont:[UIFont fontWithName:@"The Great Escape" size:12]];
[LblTwitter  setFont:[UIFont fontWithName:@"The Great Escape" size:12]];
Note: this is available in iOS 4.0 and later.
 
    
    
        Mak
        
- 46
- 3
