简体   繁体   English

Xcode6上LaunchScreen的版权标签

[英]Copyright Label of LaunchScreen at Xcode6

I created a new project by single view application mode at Xcode 6. 我在Xcode 6上通过单视图应用程序模式创建了一个新项目。

There was a LaunchScreen.xib in the created project. 创建的项目中有一个LaunchScreen.xib。 In this xib, copyright label's font size is changed by device. 在此xib中,版权标签的字体大小由设备更改。 Look at below image. 看下面的图像。

自适应版权标签

Copyright label's font size at 4inch iPhone is smaller than font size at 5.5inch iPhone. 4英寸iPhone的版权标签字体大小小于5.5英寸iPhone的字体大小。 I couldn't find any size case properties for this. 我找不到任何大小的案例属性。 I tried to make my own label, but it have same font size at all devices. 我尝试制作自己的标签,但它在所有设备上都有相同的字体大小。

And builtin copyright label had not the height constraint, but any warning was not shown. 内置版权标签没有高度限制,但没有显示任何警告。 My own label has missing height constraint warning. 我自己的标签缺少高度约束警告。

Who can explain this problem? 谁能解释这个问题?

I believe this is done not by auto-layout but by specifying Autoshrink property: 我相信这不是通过自动布局完成的,而是通过指定Autoshrink属性:

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM