Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @implementation MMParallaxHeaderScrollView
- - (void)setContentOffset:(CGPoint)contentOffset {
- if (self.scrollEnabled) {
- [super setContentOffset:contentOffset];
- }
- }
- - (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated {
- [super setContentOffset:contentOffset animated:animated];
- }
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement