Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IBAction 中用于关闭子视图的按钮的代码是什么?
UIView *abc; [self.view addSubview:self.view]; [abc removeFromSuperview];
我希望您使用此代码删除子视图...
[subviewname removeFromSuperview];