开发者

Implement a singleton for iAd Banner

Do any one know how to correctly implement one instance for an ADBanner and share it for all view controllers in my开发者_运维百科 app ?


Pass the banner along as an instance variable as you create controllers?

Make the ad banner an instance variable on your app delegate?

Create a UIViewController category with an adBanner method that creates a static AdBanner if needed and returns it?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜