ios - Determine a view in a specific view in iphone -


i have 2 table views: table-a , table-b.

in each table view there buttons in grid manner in respective cell of each table view. need determine whether button have pressed belongs table-a or table-b. if possible, how achieve this.thanks in advance.

you use tag on button. or @ superview of button. or associate object button (objc_setassociatedobject). there many possibilities.


Comments