objective c - Xcode 6, iOS 8 could not load custom fonts -
i'm struggling custom fonts. i'm using xcode 6.3 , ios 8.3. in other application steps:
- import
merriweathersans-regular.ttf
(added target) - added
merriweathersans-regular.ttf
ininfo.plist
keyfonts provided application
but if try print fonts available merriweather never comes out
for (nsstring* family in [uifont familynames]) { nslog(@"%@", family); (nsstring* name in [uifont fontnamesforfamilyname: family]) { nslog(@" %@", name); } }
the strange xcode 6.1 works fine.
i don't know why xcode 6.3 has strange behavior font appear in list when use somewhere in xib.
Comments
Post a Comment