启动屏幕上的字体与主故事板上的字体不同 [英] Fonts on launch screen are different than main storyboard

查看:51
本文介绍了启动屏幕上的字体与主故事板上的字体不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode 6.3.1上,我为应用创建了一个启动屏幕,并为该应用使用了相同的初始ViewController.

On Xcode 6.3.1 I created a launch screen for my app with the same initial ViewController for the app.

问题在于,启动该应用程序时,所有字体的大小都略有不同.

The problem is that when the app is launched all the fonts have a slightly different size.

我在标签上使用了标题和标题1文本样式.

I'm using the Headline and Caption 1 text styles on the labels.

下面有一些图片可以使问题更加清楚.

There are some pictures below to make the problem clearer.

谢谢!

启动屏幕:

主Storyboard初始视图控制器:

Main Storyboard initial view controller:

叠加两个图像时,差异是明显的:

The difference is noticeable when superimposing both images:

推荐答案

您不能在启动"屏幕上使用自定义字体.仅标准系统字体.

You can't use custom fonts on the Launch screen. Only standard system fonts.

系统会在运行时自动将您的自定义字体替换为系统.

System will automatically replace your custom font to system during runtime.

这篇关于启动屏幕上的字体与主故事板上的字体不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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