iphone - How to detect touch on UIImageView inside UIScrollview? -


i have uiscrollview in app , populate lots of uiimageviews approx 900. small , consist of 2 different images on , on again.

now having lot of trouble detecting touch on 1 of these uiimageviews.

i have assigned them unique tag able distinguish between them struggling detect touch.

the goal able change image of touched uiimageview.

due large amount of views involved simple loop checking touch coordinates against each uiimageviews frame hanging app.

does have suggestions?

thanks in advance.

ben

the best way solve issue subclass uiscrollview, add touchesbegan etc methods it.

@interface myscroll : uiscrollview  {   } 

Comments

Popular posts from this blog

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

apache - Add omitted ? to URLs -

php - How can I stop spam on my custom forum/blog? -