objective C code for close a view
Wh开发者_如何转开发at's the code in an IBAction for a button to close a subview?
UIView *abc;
[self.view addSubview:self.view];
[abc removeFromSuperview];
I hope you are using this code to remove the subview...
[subviewname removeFromSuperview];
精彩评论