pushViewController for same instance - only for animation purpose

Posted by techastute on Stack Overflow See other posts from Stack Overflow or by techastute
Published on 2009-08-10T05:09:08Z Indexed on 2010/04/23 4:13 UTC
Read the original article Hit count: 303

Hi there,

I am having single table view in a view controller. That table view lists the countries first. When I click on a country(row), it has to push the same view controller's view with cities under that country. I need to see the slide animation, which we usally get while pushing views in navigator.

Is it possible to use the pushViewController for the same view controller by calling the tableView reloadData with city data (This should happen when country is selected) ?

Please let me know whether it is possible..

Thanks in advance.. Raj

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiviewcontroller