NSObject.BroadSystemFontWeights 警告消息是什么意思? [英] What does NSObject.BroadSystemFontWeights warning message mean?
问题描述
我最近将 XCode 更新到 7.0 并收到此警告消息:
I recently updated XCode to 7.0 and I get this warning message:
Xcode.IDEInterfaceBuilder.Cocoa.NSObject.BroadSystemFontWeights
这是什么意思,我该如何摆脱它?
What does it mean and how do I get rid of it ?
推荐答案
当我将字体粗细设置为 Semibold
到带有系统字体的标签时,我遇到了同样的错误.这个权重适用于新系统字体(旧金山),但不适用于旧的 Helvetica Neue,所以我猜这个错误意味着我们不会在旧操作系统上获得正确的权重.
I got the same error when I set the font weight to Semibold
to a label with system font. This weight is available for the new system font (San Francisco) but not for the old Helvetica Neue, so I guess that that error means we won't get the right weight on older OS.
将字体更改为 Helvetica Neue 可用的粗细,Bold
就我而言,已为我修复了错误.
Changing the font to a weight available also for Helvetica Neue, Bold
in my case, has fixed the error for me.
这篇关于NSObject.BroadSystemFontWeights 警告消息是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!