I have a AGSMapView in ViewController1. When I use ViewController2 to show ViewController1 by "ViewController2 presentViewController:animated:completion", after "ViewController2 dismissViewControllerAnimated:completion", the memory can be released.
But, if ViewController1 is included in NavigationController, I use ViewController2 to show NavigationController by "ViewController2 presentViewController:animated:completion", after "ViewController2 dismissViewControllerAnimated:completion", the memory seems cannot be released.
Anyone can help?