I have done the following code previously on in my app. It is working good with all the iOS other than iOS7. I am changing the navigation title in didSelectRow method but it is not changing my navigation bar title in iOS 7. I create a new controller on run time in didselectrow and giving it a title in this line nextController.title = [dataDict objectForKey: kNestedDataKey_title];
- (void) tableView: (UITableView *) tableView didSelectRowAtIndexPath: (NSIndexPath *) indexPath {
NSLogDebug();
NSDictionary *dataDict = [self.data objectAtIndex: indexPath.row];
NSString *classNSString = [dataDict objectForKey: kNestedDataKey_class];
UIViewController *nextController = NULL;
nextController = [[NestedTableViewController alloc] initWithNibName: nil bundle: nil];
[self.navigationController pushViewController: nextController animated: YES];
((NestedTableViewController *) nextController).data = [dataDict objectForKey: kNestedDataKey_data];
nextController.title = [dataDict objectForKey: kNestedDataKey_title];
[nextController release];
}
Note: It is working fine in all the iOS other than iOS 7