MapView in NavigationController cannot release memory

538
0
10-17-2013 02:08 AM
ClementLau
New Contributor
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?
0 Kudos
0 Replies