Do you also set the parent view of this UIImageViews to
userInteractionEnabled?
On Thu, Oct 9, 2008 at 1:42 PM, iDVB <[EMAIL PROTECTED]> wrote:
>
> Ok, So am about to put my head threw a window....LOL.
> I've tried EVERYTHING (except what works I guess) to get this to work
> with ZERO luck.
>
> I have a grid of UIImageViews that contain UIImages and I want to
> detect touches on each UIImageView.
>
> in my ViewController I addSubview the UIImageViews to the
> UIScrollView.
>
> I've added the following to my ViewController
>
> // Handles the end of a touch event.
> - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
> {
> NSLog(@"touch");
> }
>
> I've tried setting the setUserInteractionEnabled on all UImageViews to
> YES and NO and neither works.
>
> WHY! :(
>
> Can Anyone shed some light into this issue?
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---