百度地图内存

清除百度地图内存除了要在disappear中置空外,还需要在delloc中进行remove

-(void)viewWillDisappear:(BOOL)animated

{

[super viewWillDisappear:animated];

[mapView_BD viewWillDisappear];

}


[mapView_BD removeFromSuperview];

你可能感兴趣的:(百度地图内存)