Sweet UITableViewController Bug in 3.0 SDK
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.


August 23rd, 2009 at 2:21 pm
Thanks! This just saved me a bunch of time.