It seems that you would only need to add a gesture recognizer to the UIImageView
which you intend the user to tap:
UIImageView *imgView;
UITapGestureRecognizer *tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self
action:@selector(imageViewTapped:)];
[imgView addGestureRecognizer:tapRecognizer];
- (void)imageViewTapped:(UIGestureRecognizer *)recognizer {
[[UIApplication sharedApplication] openURL:yourURL];
}
If the URL to be loaded in Mobile Safari depends on which particular image view was tapped, then you have more work to do. Possibly you could subclass UIImageView
so that it has a property for the URL it's associated with. (Although that doesn't really sound like a proper role for view.)