Created
August 12, 2016 08:50
-
-
Save conscientiousness/95ce3d8c04d82c2169e2bd2ba0e9b7a9 to your computer and use it in GitHub Desktop.
Get IndexPath from cell button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CGPoint center= sender.center; | |
CGPoint rootViewPoint = [sender.superview convertPoint:center toView:self.myTableView]; | |
NSIndexPath *indexPath = [self.myTableView indexPathForRowAtPoint:rootViewPoint]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment