Using Location Gesture Gestures by InView & CGPoint

New for iPhone dev. Can someone tell me why

-(IBAction) handleTapGesture:(UIGestureRecognizer *) sender { CGPoint *tapPoint = [sender locationInView:imageView]; NSLog(@"tapped"); } 

gives me an error (for a CGPoint string):

incompatible types during initialization

+4
source share
1 answer

Remove * after CGPoint.

+6
source

All Articles