问题
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...
回答1:
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.
来源:https://stackoverflow.com/questions/27470900/size-class-issues-also-need-a-size-class-key