http://upload-images.jianshu.io/upload_images/1338042-dd49a97fd2f9c482.gif?imageMogr2/auto-orient/strip ios 横竖屏知识点:http://www.cocoachina.com/ios/20160722/17148.html demo地址:https://github.com/Haley-Wong/ChangeOrientation