Reputation: 72
I am in trouble. I have used Google map in iOS application. When I continue doing zoom in - zoom out in map till 1 to 1.5 minutes, it uses more memory and then it crash. I have attached crash screen shot. Please help me.
Upvotes: 0
Views: 420
Reputation: 96
Just Clear and remove the google map view in the following viewWillDisappear method.
- (void)viewWillDisappear:(BOOL)animated{
[super viewWillDisappear:animated] ;
[m_mapView clear];
[m_mapView removeFromSuperview] ;
m_mapView = nil ;
}
Upvotes: 1