Swift 中,系统字体的使用

  • Swift 中系统提供的字体
    1. Copperplate
      1. Copperplate-Light
      2. Copperplate
      3. Copperplate-Bold
    2. Apple SD Gothic Neo
      1. AppleSDGothicNeo-Thin
      2. AppleSDGothicNeo-Light
      3. AppleSDGothicNeo-Regular
      4. AppleSDGothicNeo-Bold
      5. AppleSDGothicNeo-SemiBold
      6. AppleSDGothicNeo-UltraLight
      7. AppleSDGothicNeo-Medium
    3. Thonburi
      1. Thonburi
      2. Thonburi-Light
      3. Thonburi-Bold
    4. Gill Sans
      1. GillSans-Italic
      2. GillSans-SemiBold
      3. GillSans-UltraBold
      4. GillSans-Light
      5. GillSans-Bold
      6. GillSans
      7. GillSans-SemiBoldItalic
      8. GillSans-BoldItalic
      9. GillSans-LightItalic
    5. Marker Felt
      1. MarkerFelt-Thin
      2. MarkerFelt-Wide
    6. Hiragino Maru Gothic ProN
      1. HiraMaruProN-W4
    7. Courier New
      1. CourierNewPS-ItalicMT
      2. CourierNewPSMT
      3. CourierNewPS-BoldItalicMT
      4. CourierNewPS-BoldMT
    8. Kohinoor Telugu
      1. KohinoorTelugu-Regular
      2. KohinoorTelugu-Medium
      3. KohinoorTelugu-Light
    9. Avenir Next Condensed
      1. AvenirNextCondensed-Heavy
      2. AvenirNextCondensed-MediumItalic
      3. AvenirNextCondensed-Regular
      4. AvenirNextCondensed-UltraLightItalic
      5. AvenirNextCondensed-Medium
      6. AvenirNextCondensed-HeavyItalic
      7. AvenirNextCondensed-DemiBoldItalic
      8. AvenirNextCondensed-Bold
      9. AvenirNextCondensed-DemiBold
      10. AvenirNextCondensed-BoldItalic
      11. AvenirNextCondensed-Italic
      12. AvenirNextCondensed-UltraLight
    10. Tamil Sangam MN
      1. TamilSangamMN
      2. TamilSangamMN-Bold
    11. Helvetica Neue
      1. HelveticaNeue-UltraLightItalic
      2. HelveticaNeue-Medium
      3. HelveticaNeue-MediumItalic
      4. HelveticaNeue-UltraLight
      5. HelveticaNeue-Italic
      6. HelveticaNeue-Light
      7. HelveticaNeue-ThinItalic
      8. HelveticaNeue-LightItalic
      9. HelveticaNeue-Bold
      10. HelveticaNeue-Thin
      11. HelveticaNeue-CondensedBlack
      12. HelveticaNeue
      13. HelveticaNeue-CondensedBold
      14. HelveticaNeue-BoldItalic
    12. Times New Roman
      1. TimesNewRomanPS-ItalicMT
      2. TimesNewRomanPS-BoldItalicMT
      3. TimesNewRomanPS-BoldMT
      4. TimesNewRomanPSMT
    13. Georgia
      1. Georgia-BoldItalic
      2. Georgia-Italic
      3. Georgia
      4. Georgia-Bold
    14. Sinhala Sangam MN
      1. SinhalaSangamMN-Bold
      2. SinhalaSangamMN
    15. Arial Rounded MT Bold
      1. ArialRoundedMTBold
    16. Kailasa
      1. Kailasa-Bold
      2. Kailasa
    17. Kohinoor Devanagari
      1. KohinoorDevanagari-Regular
      2. KohinoorDevanagari-Light
      3. KohinoorDevanagari-Semibold
    18. Kohinoor Bangla
      1. KohinoorBangla-Regular
      2. KohinoorBangla-Semibold
      3. KohinoorBangla-Light
    19. Noto Sans Oriya
      1. NotoSansOriya-Bold
      2. NotoSansOriya
    20. Chalkboard SE
      1. ChalkboardSE-Bold
      2. ChalkboardSE-Light
      3. ChalkboardSE-Regular
    21. Noto Sans Kannada
      1. NotoSansKannada-Bold
      2. NotoSansKannada-Light
      3. NotoSansKannada-Regular
    22. Apple Color Emoji
      1. AppleColorEmoji
    23. PingFang TC
      1. PingFangTC-Regular
      2. PingFangTC-Thin
      3. PingFangTC-Medium
      4. PingFangTC-Semibold
      5. PingFangTC-Light
      6. PingFangTC-Ultralight
    24. Geeza Pro
      1. GeezaPro-Bold
      2. GeezaPro
    25. Damascus
      1. DamascusBold
      2. DamascusLight
      3. Damascus
      4. DamascusMedium
      5. DamascusSemiBold
    26. Noteworthy
      1. Noteworthy-Bold
      2. Noteworthy-Light
    27. Avenir
      1. Avenir-Oblique
      2. Avenir-HeavyOblique
      3. Avenir-Heavy
      4. Avenir-BlackOblique
      5. Avenir-BookOblique
      6. Avenir-Roman
      7. Avenir-Medium
      8. Avenir-Black
      9. Avenir-Light
      10. Avenir-MediumOblique
      11. Avenir-Book
      12. Avenir-LightOblique
    28. Kohinoor Gujarati
      1. KohinoorGujarati-Light
      2. KohinoorGujarati-Bold
      3. KohinoorGujarati-Regular
    29. Mishafi
      1. DiwanMishafi
    30. Academy Engraved LET
      1. AcademyEngravedLetPlain
    31. Party LET
      1. PartyLetPlain
    32. Futura
      1. Futura-CondensedExtraBold
      2. Futura-Medium
      3. Futura-Bold
      4. Futura-CondensedMedium
      5. Futura-MediumItalic
    33. Arial Hebrew
      1. ArialHebrew-Bold
      2. ArialHebrew-Light
      3. ArialHebrew
    34. Farah
      1. Farah
    35. Mukta Mahee
      1. MuktaMahee-Light
      2. MuktaMahee-Bold
      3. MuktaMahee-Regular
    36. Noto Sans Myanmar
      1. NotoSansMyanmar-Regular
      2. NotoSansMyanmar-Bold
      3. NotoSansMyanmar-Light
    37. Arial
      1. Arial-BoldMT
      2. Arial-BoldItalicMT
      3. Arial-ItalicMT
      4. ArialMT
    38. Chalkduster
      1. Chalkduster
    39. Kefa
      1. Kefa-Regular
    40. Hoefler Text
      1. HoeflerText-Italic
      2. HoeflerText-Black
      3. HoeflerText-Regular
      4. HoeflerText-BlackItalic
    41. Optima
      1. Optima-ExtraBlack
      2. Optima-BoldItalic
      3. Optima-Italic
      4. Optima-Regular
      5. Optima-Bold
    42. Galvji
      1. Galvji-Bold
      2. Galvji
    43. Palatino
      1. Palatino-Italic
      2. Palatino-Roman
      3. Palatino-BoldItalic
      4. Palatino-Bold
    44. Malayalam Sangam MN
      1. MalayalamSangamMN-Bold
      2. MalayalamSangamMN
    45. Al Nile
      1. AlNile
      2. AlNile-Bold
    46. Lao Sangam MN
      1. LaoSangamMN
    47. Bradley Hand
      1. BradleyHandITCTT-Bold
    48. Hiragino Mincho ProN
      1. HiraMinProN-W3
      2. HiraMinProN-W6
    49. PingFang HK
      1. PingFangHK-Medium
      2. PingFangHK-Thin
      3. PingFangHK-Regular
      4. PingFangHK-Ultralight
      5. PingFangHK-Semibold
      6. PingFangHK-Light
    50. Helvetica
      1. Helvetica-Oblique
      2. Helvetica-BoldOblique
      3. Helvetica
      4. Helvetica-Light
      5. Helvetica-Bold
      6. Helvetica-LightOblique
    51. Courier
      1. Courier-BoldOblique
      2. Courier-Oblique
      3. Courier
      4. Courier-Bold
    52. Cochin
      1. Cochin-Italic
      2. Cochin-Bold
      3. Cochin
      4. Cochin-BoldItalic
    53. Trebuchet MS
      1. TrebuchetMS-Bold
      2. TrebuchetMS-Italic
      3. Trebuchet-BoldItalic
      4. TrebuchetMS
    54. Devanagari Sangam MN
      1. DevanagariSangamMN
      2. DevanagariSangamMN-Bold
    55. Rockwell
      1. Rockwell-Italic
      2. Rockwell-Regular
      3. Rockwell-Bold
      4. Rockwell-BoldItalic
    56. Snell Roundhand
      1. SnellRoundhand
      2. SnellRoundhand-Bold
      3. SnellRoundhand-Black
    57. Zapf Dingbats
      1. ZapfDingbatsITC
    58. Bodoni 72
      1. BodoniSvtyTwoITCTT-Bold
      2. BodoniSvtyTwoITCTT-BookIta
      3. BodoniSvtyTwoITCTT-Book
    59. Verdana
      1. Verdana-Italic
      2. Verdana
      3. Verdana-Bold
      4. Verdana-BoldItalic
    60. American Typewriter
      1. AmericanTypewriter-CondensedBold
      2. AmericanTypewriter-Condensed
      3. AmericanTypewriter-CondensedLight
      4. AmericanTypewriter
      5. AmericanTypewriter-Bold
      6. AmericanTypewriter-Semibold
      7. AmericanTypewriter-Light
    61. Avenir Next
      1. AvenirNext-Medium
      2. AvenirNext-DemiBoldItalic
      3. AvenirNext-DemiBold
      4. AvenirNext-HeavyItalic
      5. AvenirNext-Regular
      6. AvenirNext-Italic
      7. AvenirNext-MediumItalic
      8. AvenirNext-UltraLightItalic
      9. AvenirNext-BoldItalic
      10. AvenirNext-Heavy
      11. AvenirNext-Bold
      12. AvenirNext-UltraLight
    62. Baskerville
      1. Baskerville-SemiBoldItalic
      2. Baskerville-SemiBold
      3. Baskerville-BoldItalic
      4. Baskerville
      5. Baskerville-Bold
      6. Baskerville-Italic
    63. Khmer Sangam MN
      1. KhmerSangamMN
    64. Didot
      1. Didot-Bold
      2. Didot
      3. Didot-Italic
    65. Savoye LET
      1. SavoyeLetPlain
    66. Bodoni Ornaments
      1. BodoniOrnamentsITCTT
    67. Symbol
      1. Symbol
    68. Charter
      1. Charter-BlackItalic
      2. Charter-Bold
      3. Charter-Roman
      4. Charter-Black
      5. Charter-BoldItalic
      6. Charter-Italic
    69. Menlo
      1. Menlo-BoldItalic
      2. Menlo-Bold
      3. Menlo-Italic
      4. Menlo-Regular
    70. Noto Nastaliq Urdu
      1. NotoNastaliqUrdu
      2. NotoNastaliqUrdu-Bold
    71. Bodoni 72 Smallcaps
      1. BodoniSvtyTwoSCITCTT-Book
    72. DIN Alternate
      1. DINAlternate-Bold
    73. Papyrus
      1. Papyrus-Condensed
      2. Papyrus
    74. Hiragino Sans
      1. HiraginoSans-W3
      2. HiraginoSans-W6
      3. HiraginoSans-W7
    75. PingFang SC
      1. PingFangSC-Medium
      2. PingFangSC-Semibold
      3. PingFangSC-Light
      4. PingFangSC-Ultralight
      5. PingFangSC-Regular
      6. PingFangSC-Thin
    76. Myanmar Sangam MN
      1. MyanmarSangamMN
      2. MyanmarSangamMN-Bold
    77. Apple Symbols
      1. AppleSymbols
    78. Zapfino
      1. Zapfino
    79. Bodoni 72 Oldstyle
      1. BodoniSvtyTwoOSITCTT-BookIt
      2. BodoniSvtyTwoOSITCTT-Book
      3. BodoniSvtyTwoOSITCTT-Bold
    80. Euphemia UCAS
      1. EuphemiaUCAS
      2. EuphemiaUCAS-Italic
      3. EuphemiaUCAS-Bold
    81. DIN Condensed
      1. DINCondensed-Bold
Swift 示例代码
UILabel().font = UIFont(name: "PingFangSC-Medium", size: 18.0)
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 206,126评论 6 481
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 88,254评论 2 382
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 152,445评论 0 341
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 55,185评论 1 278
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 64,178评论 5 371
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,970评论 1 284
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,276评论 3 399
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,927评论 0 259
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 43,400评论 1 300
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,883评论 2 323
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,997评论 1 333
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,646评论 4 322
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,213评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,204评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,423评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 45,423评论 2 352
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,722评论 2 345

推荐阅读更多精彩内容