您的当前位置:首页正文

UIScrollView的scrollIndicatorInse

来源:要发发知识网

设置scrollview滑动条的位置;
当你设置了contentInset,为了保证滑动条跟scrollview内容保持一致,所以

self.tableView.scrollIndicatorInsets = self.tableView.contentInset;