Here, the issue is nothing but I don't know much about objectiveC
. So the query is that I am working on a project where user taps on Image and with UITapGestureRecognizer
I have to store that tapped position in my array
. I don't know how is this possible that every time user taps the view
and CGPoint
value gets stored in NSMutableArray
.
dataArray = [[NSMutableArray alloc] init];
for (NSInteger i = 0; i < [getResults count]; i++) {
[dataArray addObject:tappedPoint];
NSLog(@"RESULT TEST %@", dataArray);
}