【问题标题】:Font bold does not work in Xcode 8字体粗体在 Xcode 8 中不起作用
【发布时间】:2016-12-02 22:35:31
【问题描述】:

现在,我使用的是 Xcode 8。我想将文本加粗,并从 Attributes Inspector 中选择半粗体。
当我在 iPad (iOS 10) 中运行该应用程序时,它没有加粗。
这是 Xcode8 的错误吗?请帮我。

【问题讨论】:

    标签: fonts swift3 xcode8 ios10 bold


    【解决方案1】:

    Swift 3 - Xcode 8.1

    label.font = UIFont.boldSystemFont(ofSize: 40)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-11-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-08
      • 2020-11-07
      • 2013-08-10
      • 2015-09-24
      相关资源
      最近更新 更多