presentmodalviewcontroller and memory management
Ok, my app only has a few views so the user navigates through the views using modalviewcontrollers.Let's say View A goes to B, and view B goes to C. A is the menu screen. Going back from B to A is easy using dismissmodalviewcontroller, but I can't do the same thing going from C to A. To get around this, I just created a new instance of the View A controller using initwithnibname in the View C controller, and then set that as the presentmodalviewcontroller. (and then releasing it) My question is, is this using up more and more memory the more it is used? If I continuously go from A to B to C, and then back to A, is it using up more memory?
|