Taking an iAd across multiple screens

前端 未结 2 949
长发绾君心
长发绾君心 2021-01-03 13:33

I\'m sure there\'s a simple answer to this but it\'s beginning to annoy me now!

I have an iAd integrated into my app which appears and works on the screen I\'ve impl

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-03 14:23

    It sounds like you're not removing your iAds when views hide. I suggest doing the creation in viewWillAppeaer and removing ads in the viewDidDisappear method. Like this, you'l only end up with as many banners as you create in the visible view. It sounds like you're using the viewdidLoad/viewWillUnload pair instead.

提交回复
热议问题