Basically I'm wondering what the proper way to present and release view controllers is.
My original understanding was that ViewControllerA presents ViewControllerB with -presentViewController: Animated: Completion:. Then ViewControllerB can release himself by calling -dismissViewControllerAnimated: Completion:.
Now, if I have three view controllers, A, B and C. A presents B, B presents C, and C returns to to A, how should I write this? I tried to call a dismiss from C on B, but that doesn't work. The only thing that actually seems to work is having C present A again, but is this proper?
Any help would be great, thanks!