Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
- UITouch *myTouch = [[event allTouches] anyObject];
- image1.center setCenter:CGPointMake(195, 208);
- image1.center = [myTouch locationInView:self.view];
- [self checkCollision];
- }
Add Comment
Please, Sign In to add comment