automaticallyAdjustsScrollViewInsets 自动缩进 20 像素 默认是 True 项目中如果有UIViewController 和ScrollView 一般都要设置成false 转载于:https://www.cnblogs.com/ZhangShengjie/p/6807178.html