Unless I'm out of my mind, this was working properly on iOS4. I updated to iOS5, and now it's throwing this bad access error on [indexPath section]
. It's on a UITableView
:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { // Get the cell label and value NSLog(@"section: %@", [indexPath section]); /* BAD ACCESS ERROR HERE */ ...