苹果爸爸iOS11废弃了UIViewController的automaticallyAdjustsScrollViewInsets属性导致
处理方案:
统一在appDelegate的didFinishLaunchingWithOptions的最开始增加:
Swift: if#available(iOS 11.0, *) {UIScrollView.appearance().contentInsetAdjustmentBehavior=.never}
OC: if (@available(iOS 11.0, *)) {UIScrollView.appearance.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;}