I am developing one application.
In that I have used the three uiimageviews
.
And used the UITapGesture
to open the photo library.
My problem is how to identify which imageview is tapped, for setting the selected image in photo library.
Please tell m开发者_StackOverflowe how to identify that one?
Use tag property of imageview and then
-(void)doAction:(UITapGestureRecognizer *)recognizer {
NSLog(@"Imageview :%d",recognizer.view.tag)
}
精彩评论