我很高兴XCode 5的NDA结束了,我可以问这个问题.
我现在在为XCode 5构建Boost时遇到问题,因为只有一个编译器LLVM 5.0
我已经尝试使用--c ++ 11,使用clang使用了Homebrew ....我尝试了各种各样的想法和脚本,但到目前为止还没有.
任何帮助,将不胜感激.谢谢
以下代码在iOS 7中工作正常,但在iOS 8中不返回粗体或斜体字体.对于Helvetica Neue,它可以使用,但对Arial字体不起作用.
UIFontDescriptor *descriptor1 = [UIFontDescriptor fontDescriptorWithFontAttributes:@{UIFontDescriptorFamilyAttribute: @"Arial"}];
UIFontDescriptor* boldFontDescriptor1 = [descriptor1 fontDescriptorWithSymbolicTraits:UIFontDescriptorTraitBold];
UIFont* font1 = [UIFont fontWithDescriptor:boldFontDescriptor1 size:16.0];
[self.lblArialB setFont:font1];
Run Code Online (Sandbox Code Playgroud)
在设备和模拟器上测试,仍然是相同的错误.