tags:

views:

507

answers:

2
A: 

Hard to say without seeing more code, but it sounds like you're trying to pop to a view controller which you've released. When you push another view controller onto the stack, don't release anything and see if that fixes the crash....

BTW, appDelegate.navigationController looks suspicious - try using self.navigationController.

dbarker
A: 

The navigation-controller maintains a stack of view-controllers. I assume the audio-view should be the first one to be seen. This is the root view-controller. When the user requests it (or some other event), you push the about view-controller on the navigation-controllers view-stack (pushViewController:animated:).

To return to the audio-view, you just pop the about view-controller with popViewControllerAnimated:. After that, the about view-controller can be released. You need to allocate it again (i.e. reload it from a .nib file), if you need it again.

Apple's introduction to view controllers

rincewind