UIView的removeFromSuperView方法从内存中删除UIView [英] Does UIView's removeFromSuperView method remove the UIView from memory

查看:352
本文介绍了UIView的removeFromSuperView方法从内存中删除UIView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

UIView的removeFromSuperView方法是否从内存中删除UIView?我只是想确保视图不再使用任何内存?

Does UIView's removeFromSuperView method remove the UIView from memory? I just want to be sure that the view is no longer using any memory?

推荐答案

Yes.Once removeFromSuperView方法被调用,视图也从内存释放...

Yes.Once removeFromSuperView method is called, that view is also released from memory...

如果你想确认与苹果的文档。这是链接

If you want to confirm with Apple's documentation..Here is the link

http://developer.apple.com/library/ ios /#documentation / uikit / reference / UIView_Class / UIView / UIView.html

干杯

这篇关于UIView的removeFromSuperView方法从内存中删除UIView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆