开发者

Do you need to release xib UI elements that aren't IBOutlets?

If I have a xib file with, say, a UIButton 开发者_开发知识库element, but I do not create an IBOutlet to it, will it be released automatically? Or do I need to create outlets to all UI elements, and release them, even if I don't necessarily need the outlet for other purposes?


There is no need to create outlets to every UI element. All memory management should be handled automatically.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜