Code:
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
if ([touch view] == baseImage1)
{
UIImage *anImage = [UIImage imageNamed:@"dragon1.png"];
}
}
baseImage1 -> Imageview
Can we specify touch event for the image with in the imageview?