Mostrar / Ocultar Avisos

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.

One Response

  1. Ross Johnston Says:

    Thanks! This just saved me a bunch of time.

Leave a Reply