Guest User

Untitled

a guest
Jun 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
  2.  
  3. UITouch *myTouch = [[event allTouches] anyObject];
  4. image1.center setCenter:CGPointMake(195, 208);
  5. image1.center = [myTouch locationInView:self.view];
  6.  
  7.  
  8. [self checkCollision];
  9. }
Add Comment
Please, Sign In to add comment