I am working with Automatic Reference Counting.
I have a custom UIViewController
subclass and whenever I call -presentViewController: animated:completion
If you use -presentViewController:animated:completion:
you are retaining the parentViewController every time you call this method. ModalViewControllers are simply pushed on top of the other ViewController.
ModalViewControllers are only designed for some kind of information / User Input and stuff like that. If you want to dealloc the ParentViewController you have to deal with your own implementation.