大小类问题 - 还需要大小类密钥 [英] Size Class Issues - Also need a size class key

查看:165
本文介绍了大小类问题 - 还需要大小类密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode中,我的应用程序中的大小类存在问题。我无法获得正确的大小类来表明它似乎适用于我所有不同的设备。我想要一个键来查看大小类应该是什么,也就是大小类似乎没有真正匹配。



下面是附加的图像一个例子。我无法得到任何正确的答案。我是新手,我知道我做错了。



另外,我试过这个:



比尔。


In Xcode I am having an issue with the size classes in my app. I am unable to get the right size classes to show that seem to work for all of my different devices. I kind of would like a key to see what the size classes should really be, also the size classes don't seem to really match up.

Below is an image attached of an example. I can't get anything correct. I am new to this and I know that I am doing something wrong.

Also, I tried this: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LayoutandAppearance.html but it didn't match up. Maybe my controls have a layout issue?

Edit: Shown below, I can't modify the leading edges and trailing edges...

解决方案

Whoo Hooo!!! I figured it out!!! @nburk, I want to give you some credit too. You said the key words trailing space and leading space so I googled more on that, and I was seeing the wrong thing.

I want to recommend this to all users who are having problems with it. I didn't realize that dragging the constraints using the control button would actually do it.

https://www.youtube.com/watch?v=IwSTXY0awng

Bill.

这篇关于大小类问题 - 还需要大小类密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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