草庐IT

AppleSDGothicNeo

全部标签

ios - 无法在 ios 7 中设置 uilabel 字体(不使用自定义字体)

背景:使用的字体:AppleSDGothicNeo-Lightios支持:ios7+问题:我通过以下方式设置uilabel的字体:self.lblName.font=[UIFontfontWithName:@"AppleSDGothicNeo-Light"size:12.f];我的预期:我在iOS7中得到的(iOS8还可以):当我想打印调试描述时,它得到:字体系列:“AppleSDGothicNeo-Light”;字体粗细:正常;字体样式:正常;字体大小:12.00pt发生了什么事? 最佳答案 希望对你有帮助UIFont*myFon