百度地图内存
2019-05-08 本文已影响0人
汤圆奶爸
清除百度地图内存除了要在disappear中置空外,还需要在delloc中进行remove
-(void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
[mapView_BD viewWillDisappear];
}
[mapView_BD removeFromSuperview];
清除百度地图内存除了要在disappear中置空外,还需要在delloc中进行remove
-(void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
[mapView_BD viewWillDisappear];
}
[mapView_BD removeFromSuperview];