Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (ABS(currentTouchLocation.y-self.firstTouchLocation.y) > 4 && ABS(currentTouchLocation.x-self.firstTouchLocation.x)< 2)
- {
- self.state = UIGestureRecognizerStateFailed;
- }
- self.newImageView = [[ElementImageView alloc] initWithImage:self.image];
- self.newImageView.frame = [self.superview convertRect:self.frame toView:[UIApplication sharedApplication].keyWindow];
- [[UIApplication sharedApplication].keyWindow addSubview:self.newImageView];
Add Comment
Please, Sign In to add comment