Created
May 29, 2012 07:26
-
-
Save yuanmai/2823116 to your computer and use it in GitHub Desktop.
Locate indexpath from UISwitch events
This file contains hidden or 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 hitPoint = [sender convertPoint:CGPointZero toView:self.tableView]; | |
NSIndexPath *hitIndex = [self.tableView indexPathForRowAtPoint:hitPoint]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment