How to recognize tap on imageView when it on Table View (Custom Cell)?
hwy buddy i try to make my album view for that i put my 3 imageView on custom cell than after i set all 开发者_JAVA百科images but i can`t tap on that image.... if i can tap/touch that image than i saw particular image on New View and make photo album like application.... please Help me.....
Thanks In Advance....
Why not make them UIButtons instead of UIImageViews? they will look exactly the same but you can attach event handlers to them in interface builder (or in code if you want).
Sorry I mistook it,but already fixed:try overwrite the hitTest:withEvent:
method of your cell view, check the type and target of the touch event with pointInside:withEvent:
, if returns yes, then you got it
精彩评论