Size Class 使用Size Class适配横竖屏幕。 http://www.swift51.com/video/1035.html 使用代码监听设备旋转重新布局 https://www.jianshu.com/p/83f1bbce68e2