iAd UIImageView内存泄漏 [英] iAd UIImageView memory leak

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

问题描述

使用Instruments在设备上运行我的应用程序后,我发现iAd在UIImageView(即广告)上泄漏了.有谁知道这是怎么回事以及如何解决?

Running my app on device using Instruments tells me that iAd is leaking on a UIImageView (namely the ad). Does anyone know what this is about and how to fix it?

推荐答案

您需要在viewDidUnload中释放iAd

You need to release iAd in viewDidUnload

这篇关于iAd UIImageView内存泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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