views:

1500

answers:

1

I have a UITableView set up as a navigation controller type deal (like the default in Xcode). I have added an "Add" button which adds an element to the UITableView. When I call -selectRowAtIndexPath: on this new row I just added, it will highlight the row, but the next view is not pushed onto the stack. I assume this is because -selectRowAtIndexPath: does not trigger the -didSelectRowAtIndexPath:. Is there a way to push the next view onto the stack programmatically?

+1  A: 
[self.navigationController pushViewController:YourViewController animated:YES]
Kendall Helmstetter Gelner