在Xcode 6 / iOS 8界面生成器启动屏幕上使用自定义字体 [英] Using custom fonts with Xcode 6 / iOS 8 Interface Builder Launch Screen

查看:216
本文介绍了在Xcode 6 / iOS 8界面生成器启动屏幕上使用自定义字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Xcode 6的新界面构建器为基础的可能相关: TIL:iOS 8拥有自己的deamon,用于显示名为splashboardd的基于xib的启动映像。所以这个xib是在你的作用域之外运行的。 解决方案

实际上已经将它添加到了plist文件中了吗?

以下简单介绍如何做到这一点:$ b​​ $ b http://codewithchris.com/common-mistakes-with-adding-custom-fonts-to-your-ios-app/



问候,
Alex



编辑:
其实我试着把我自己的字体加到我的界面生成器,它不起作用。
似乎是一个错误...
这个错误只出现,当我使用一个属性的字符串


I'm using Xcode 6’s new interface builder-based launch images, and am running into an issue.

I created a new interface builder file by selecting New File, Launch Screen, which created a .xib file in my project.

I then designed my launch screen, and everything works great, except: I have a custom font, which I’ve assigned to a UILabel in Interface Builder. The font appropriately appears in Interface Builder, but when the .xib is used to generate launch images, the system font is used.

Any ideas?

Update 2014-09-16

I learned something on Twitter from @flo_muc that might be relevant:

"TIL: iOS 8 has it’s own deamon for displaying xib based launch images called splashboardd. So this xib is running outside of your scope."

解决方案

did actually added it to the plist File?

Here's a short introduction how to do this: http://codewithchris.com/common-mistakes-with-adding-custom-fonts-to-your-ios-app/

Greetings, Alex

EDIT: Actually I tried to add my own fonts to my with the interface Builder and it doesn't work. Seems to be a bug... This bug only appears, when I use an attributed String

这篇关于在Xcode 6 / iOS 8界面生成器启动屏幕上使用自定义字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆