I am trying to import my own font into a project and I am stuck. I do my research and found this
but Starting with iOS 3.2, this functionality is built-in. If you need to support pre-3.2, you can still use this solution. , and I am creating an application for iOS 5.0.
I'm trying to use fontWithName:size:, and the docs , said he fully specified font name. This name includes both the name of the font family and specific style information for the font. So put your display name there.
cell.textLabel.font = [UIFont fontWithName:@"Sansation-Light" size:10.0];
But that will not work. Where can I store this font? In my project? is this the correct name? My font name:Sansation_Light.ttf
source
share