addSubview 与 removeFromSuperview
1 //当前视图的父视图添加和本视图同级的视图 2 [self.view.superview addSubview:showview.view]; 3 //从父视图移除当前视图 4 [self.view removeFromSuperview];
1 //当前视图的父视图添加和本视图同级的视图 2 [self.view.superview addSubview:showview.view]; 3 //从父视图移除当前视图 4 [self.view removeFromSuperview];