开发者

Remove UIView from ViewController

I have One view controller and in this view controlle开发者_如何学Gor I have another sub view. How can I remove this sub view. Thanks


if([subview superView])
{
[subview removeFromSuperview];
}


Suppose your subview name is tempView then use this

[tempView removeFromSuperview];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜