1 scrollView
self.scrollView.contentSize = self.imageView.frame.size; //self.scrollView.contentOffset = CGPointMake(0.f, -20.f);//scrollView滚动的位置 self.scrollView.contentInset = UIEdgeInsetsMake(10.f, 20.f, 40.f, 80.f);//四周增加的额外区域
1 scrollView
self.scrollView.contentSize = self.imageView.frame.size; //self.scrollView.contentOffset = CGPointMake(0.f, -20.f);//scrollView滚动的位置 self.scrollView.contentInset = UIEdgeInsetsMake(10.f, 20.f, 40.f, 80.f);//四周增加的额外区域