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:

  1. import merriweathersans-regular.ttf (added target) enter image description here
  2. added merriweathersans-regular.ttf in info.plist key fonts 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

Popular posts from this blog

java - Ebean enhancement ignores a model -

javascript - Reference error while trying to encapsulate an animation function -

SQL php on different pages to Insert (mysqli) -