开发者

objective C code for close a view

开发者 https://www.devze.com 2023-02-22 07:35 出处:网络
Wh开发者_如何转开发at\'s the code in an IBAction for a button to close a subview?UIView *abc;

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];
0

精彩评论

暂无评论...
验证码 换一张
取 消