-
Add the font file to the project. I recommend creating a Fonts group in the Resources group.
-
Add a new entry in the app’s info.plist with the key “Fonts provided by application” (UIAppFonts), then add the filename (name and extension) of the font file to the array.
-
Find out the name of the font. This can be done by opening the font file on your Mac and checking the title on the Font Book window. You can also find the name by using
familyNames
andfontNamesForFamilyName:
UIFont
methods. -
Use the font. It will work just like the standard fonts available on iOS devices.
'iOS' 카테고리의 다른 글
MPMoviePlayerController에서 풀스크린으로 사용하기 (0) | 2013.06.04 |
---|---|
UIWebView에서 alert, confirm 자바스크립트 처리하기 (0) | 2013.03.25 |
iOS6 shouldAutorotate NavigationViewController 문제 (0) | 2012.09.24 |
Instruments에서 Retain Count 확인 방법 (0) | 2012.09.05 |
UITableView에서 lazy Image Loading 시 동기화 문제 수정 (0) | 2012.09.05 |