I've created a custom UItableviewcell with an embedded segmented control, when the segmented control is clicked I have a method that requires the row index path. Using iOS7 the following is working well, I get the index path and can then update the other values within the custom cell.
NSIndexPath *indexPath = [self.tableView indexPathForCell:(UITableViewCell *)[[[sender superview] superview] superview]];
Unfortunately when I test this using iOS6 the indexPath is being set to NULL, is there now a difference in the way this works for iOS6 & iOS7?