How to integrate and use Font Awesome with Objective-C or Swift in an Xcode project?

后端 未结 17 1403
不思量自难忘°
不思量自难忘° 2020-12-12 18:07

So I am trying to use this font http://fortawesome.github.com/Font-Awesome/. I\'ve added the font as a resource and put it in the plist file. Here\'s how I am using it:

17条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 19:01

    In case anyone is wondering, import the following in the .m file.

    import "NSString+FontAwesome.h"
    

提交回复
热议问题