Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. - (IBAction)touchDragInsideDblTapSignBut:(id)sender {
  2. UITouch *touch = [[event allTouches] anyObject];
  3. CGPoint location = [touch locationInView:touch.view];
  4. }
  5.  
  6. [_dblTapSignAddBut addTarget:self action:@selector(touchDragInsideDblTapSignButE:event:) forControlEvents:UIControlEventTouchDragInside];
  7.  
  8. - (void) touchDragInsideDblTapSignButE:(id)sender event:(UIEvent *)event {
  9. UITouch *touch = [[event allTouches] anyObject];
  10. CGPoint location = [touch locationInView:touch.view];
  11. NSLog(@"Location x%f y%f",location.x,location.y);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement