Reputation: 269
I'm making a Tab Bar application. It has 3 ViewControllers. I learned how to put a working AdBannerView (because I'm kind of a newbie in this), so I put it on the FirstViewController. But then I realized that I want the ad to be present in all the 3 view controllers, not just on the first. So, I'm wondering if I can put the AdBannerView in like the MainWindow.xib or do I have to put one AdBannerView in each ViewController?
Thanks a lot if you can help me with this!
Upvotes: 4
Views: 4442
Reputation: 2096
The iAdSuite sample code shows how to deal with a BannerView in a tabbed application.
Upvotes: 3
Reputation: 2226
Apple have a technical note on this topic - Technical Note TN2286: Implementing a Shared iAd Banner.
http://developer.apple.com/library/ios/#technotes/tn2286/_index.html
Upvotes: 3