iphone - How to assign didSelectRowAtIndexPath in Tableview cells subview item -
i have 2 problem , totally confuse. please me 1) face 1 problem want assign click listener image view inside of subview , subview in cell of uitableview . in tableview cell there 2 image-view want give them click listener , identify them image-view clicked on row etc etc. if write scrollview.userinteractionenable=yes; didselectrowatindexpath not responds. know because of subview. if change scrollview.userinteractionenable=no; didselectrowatindexpath code executes. scrollview not scroll horizontal.. what do ? want horizontal scroll plus image-view click listener on both imageview. ** solve click problem crating scrollview sub class** this customcell class cellscrollviewclass *scrollview = [[cellscrollviewclass alloc] initwithframe:cgrectmake(0.0,0.0,430,187)]; scrollview.contentsize = cgsizemake(scrollview.frame.size.width * 3,scrollview.frame.size.height); scrollview.scrollenabled=yes; scrollview.userinteractionenabled=yes; (int = 0; < 3; i++)...