开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜