1. Autoresizing在storyboard中使用,先关闭auto layout和sizeclasses
只能解决子控件和父控件之间的关系
在代码中使用:
2. Autolayout能解决任何控件之间的关系
iOS-屏幕适配
原文:https://www.cnblogs.com/yintingting/p/12764543.html