I don't know the best way to let an App restore the navigation controller stack so that the app will re-launch in the same way that it was exited.
A:
If it is a navigation controller stack, then that hierarchy usually dictates that there is only one way to reach a particular item.
So you don't really need any algorithm, simply store the item ID (or any other state sent to the current view controller) in the user prefs.
stefpet
2009-11-29 08:15:26