导航栏与scrollerview(或scrollerview的子类) guoshengboy 2017-12-14 108 阅读1分钟 ####在ios10及以前 automaticallyAdjustsScrollViewInsets为YES时(默认为YES),当前self.view的第一个子视图为scrollerview或其子类时,其他contentInset 为{64, 0, 0, 0}。 当设置为NO时 无contentInset 为{0, 0, 0, 0}。 ####在ios11及以后