SHARE
TWEET

Untitled

a guest Jan 21st, 2019 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. scroll.scrollEnabled=NO;
  2.  
  3.  scroll.directionalLockEnabled = YES;
  4.  
  5.  scroll.bounces=NO;
  6.    
  7. - (void)scrollViewDidZoom:(UIScrollView *)scrollView
  8.  {
  9.   self.imageView.center=CGPointMake(CGRectGetMidX(self.scrollView.bounds), CGRectGetMidY(self.scrollView.bounds));
  10.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top