Sweet UITableViewController Bug in 3.0 SDK
- 20th July , 2009 by Sam in Cocoa, Objective-C, iPhone, Mac
- 1 comment | Add my comment
Just in case anyone else runs into this time suck
There is a bug in the iPhone 3.0 SDK for the UITableViewController template. Specifically, in the didSelectRowAtIndexPath method when trying to push another view controller onto the stack.
Sweet Apple code…
The correct code is…
See the difference? Apple did complete the signature with the “animated” parameter. I just spent an hour trying to find out why my UINavigationController may not respond to -pushViewController. I guess, that’s my fault for trusting the generated code.

