iOS自动偏移64个像素

  自从iOS7开始,如果添加的scrollview是uiviewController第一个视图,系统会默认自动添加-64的偏移量,所以规避的方案就添加一个UIView之后再添加你的scrollview。

原文地址:https://www.cnblogs.com/studyNT/p/5512727.html