1. 非常棒的查看字体样貌网站: http://iosfonts.com

1. 查看设备支持字体:

NSArray *familyNames = [NSMutableArray arrayWithArray:[UIFont familyNames]];

1. 需要导入第三方字体库link? 有些字库可以从OS X中导入 https://support.apple.com/en-hk/HT201375

1. 导入第三方库,将.otf加入bundle中,配置info.plist Fonts 'provided by application'字段。例如AppleSDGothicNeo-Medium.otf添加进bundle中,则需要在info.plist中添加此,font name便是AppleSDGothicNeo-Medium。检测字库是否被导入:例如应用中用到的所有字库,其实这些字体系统都有

UIFont *font1 = [UIFont fontWithName:@"Avenir-Roman" size:12];

UIFont *font2 = [UIFont fontWithName:@"Helvetica Neue" size:12];

UIFont *font3 = [UIFont fontWithName:@"HelveticaNeue-Medium" size:12];

UIFont *font4 = [UIFont fontWithName:@"AppleSDGothicNeo-Regular" size:12];

UIFont *font5 = [UIFont fontWithName:@"AppleSDGothicNeo-Medium" size:12];

UIFont *font6 = [UIFont fontWithName:@"AppleSDGothicNeo-SemiBold" size:12];

UIFont *font7 = [UIFont fontWithName:@"AppleSDGothicNeo-Bold" size:12];

UIFont *font8 = [UIFont fontWithName:@"AppleSDGothicNeo-UltraLight" size:12];

iOS Font的更多相关文章

  1. iOS FONT字体名

    下面这段代码可以查看ios中可用的字体,具体那些字体长什么样,可以查看字体册工具. NSArray *familyArray = [UIFont familyNames]; for (id famil ...

  2. MAGIC XPA最新版本Magic xpa 2.4c Release Notes

    New Features, Feature Enhancements and Behavior ChangesSubforms – Behavior Change for Unsupported Ta ...

  3. (转)在iOS中使用icon font

    http://ued.taobao.org/blog/?p=8579 在开发阿里数据iOS版客户端的时候,由于项目进度很紧,项目里的所有图标都是用最平常的背景图片方案来实现.而为了要兼容普通屏与Ret ...

  4. How to Use Custom TTF Font on iOS

    Cocos2d-x uses FontLabel to draw customer ttf font before v2.0.3(including v2.0.3). Now it uses UIFo ...

  5. 在iOS中使用icon font

    博文转载至 http://www.cocoachina.com/industry/20131111/7327.html 在开发阿里数据iOS版客户端的时候,由于项目进度很紧,项目里的所有图标都是用最平 ...

  6. 在iOS开发中使用icon font的方法

    http://iconfont.cn/help/iconuse.html 在开发阿里数据iOS版客户端的时候,由于项目进度很紧,项目里的所有图标都是用最平常的背景图片方案来实现.而为了要兼容普通屏与R ...

  7. IOS Suppot Font 苹果默认支持的字体一览(配图)

    这些字体都是IOS设备(使用ipad2测试) 默认支持的字体,也就是在AIR中不用设置绑定字体情况下 看到的样子 感觉上应该IOS仅为中文设置了一种字体就是 Heiti SC

  8. IOS Suppot Font 苹果默认支持的字体一览2(普通,加粗,倾斜)

  9. Unrecogized font family ‘Ionicons’ 在ios上报错,android正常

    解决方法: react-native link react-native-vector-icons 很多模块都需要link一下

随机推荐

  1. 谈抽象1——无脑copy等于自杀

    近期被外派帮助国内某公司做政府某部门OA系统.听说他们那有个成熟的java框架,使用了非常长时间,抱着学习的态度,我进入这个公司.当我熟悉了一周后,留下了非常多疑问,而这些疑问,也诱发了这次关于&qu ...

  2. WINDOWS 7.1 SDK 安装失败

    错误提示: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. 原因:本机上安 ...

  3. Android-NDK编译:cocos2d-x

    看了下 cocos2d-x 3.0 alpha1 几个关于android的脚本 cocos2d-x\tools\project-creator\create_project.py cocos2d-x\ ...

  4. 文件存储 FileUtil FileBaseDto

    package com.guige.base.fileutils; import com.alibaba.fastjson.JSONArray; import com.aliyun.oss.Servi ...

  5. K - Children of the Candy Corn(待续)

    K - Children of the Candy Corn Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d ...

  6. JAVA性能调试+JProfiler使用相关

    一.JProfiler下载.安装与激活 1.1 下载 直接官网下载(https://www.ej-technologies.com/download/jprofiler/files) 建议下载9.X系 ...

  7. 类与类之间关系,用C#和JavaScript体现

    前言 在面向对象中,类之间的关系有六种,分别是: 关联关系(Association) 泛化关系(Generalization) 依赖(Dependency) 聚合(Aggregation) 组合(Co ...

  8. Encrypt your home directory

    w

  9. cxGrid时间格式与导出Excel

    引用cxFormats单元: ShortDateFormat := 'dd/mm/yyyy'; DateSeparator := '/'; cxFormatController.UseDelphiDa ...

  10. 我的Android进阶之旅------>Android利用温度传感器实现带动画效果的电子温度计

    要想实现带动画效果的电子温度计,需要以下几个知识点: 1.温度传感器相关知识. 2.ScaleAnimation动画相关知识,来进行水印刻度的缩放效果. 3.android:layout_weight ...