Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在以下代码上应用当前自定义字体加粗,我如何将它包含在字典中?
let normalWhite = [NSFontAttributeName : UIFont(name: "somefont", size: 16.0)!,NSForegroundColorAttributeName : UIColor.whiteColor()]
我认为您应该在 Xcode 中包含自定义粗体字体文件并将其名称写为Helvetica-Bold
Helvetica-Bold