I'm struggling with custom fonts. I'm using Xcode 6.3 and iOS 8.3. As in other application I do this steps:
- Import
MerriweatherSans-Regular.ttf
(added to target) - Added
MerriweatherSans-Regular.ttf
inInfo.plist
with keyFonts provided by application
But if try to print all fonts available Merriweather never comes out
for (NSString* family in [UIFont familyNames])
{
NSLog(@"%@", family);
for (NSString* name in [UIFont fontNamesForFamilyName: family])
{
NSLog(@" %@", name);
}
}
The strange is with Xcode 6.1 all works fine.