ios - Single iAd referred from multiple ViewControllers -


I followed the instructions here to share iAd content in several instructions:

< / P>

However, now I want to be able to hide the banner if there is no ad and it shows when someone is available. I have seen how this is coding for implementing some representative methods by creating an ADBannerViewDelegate and showing / using an electronic block in a specific VC.

My question is - can I add representative discretions to each discrete VC, an ADBannerViewDelegate and for everyone, or in the sense of Q & A from the link, is it possible that there are just one single ad-viewer viewfinder and representative methods Apply once?

Thanks Tony

Both are possible and acceptable.

A representative with methods that usually covers all the scenes, each view controller is more generally a solution than making its representative for ADBN.

The best that is best for you depends on your existing code and how much effort you can make to work with the desired advertising behavior in many view controllers.

Comments