Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scroll.scrollEnabled=NO;
- scroll.directionalLockEnabled = YES;
- scroll.bounces=NO;
- - (void)scrollViewDidZoom:(UIScrollView *)scrollView
- {
- self.imageView.center=CGPointMake(CGRectGetMidX(self.scrollView.bounds), CGRectGetMidY(self.scrollView.bounds));
- }
Add Comment
Please, Sign In to add comment