一句搞定 self.automaticallyAdjustsScrollViewInsets = false 转载于:https://www.cnblogs.com/ybw123321/p/5422125.html