Taking an iAd across multiple screens

前端 未结 2 925
长发绾君心
长发绾君心 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:24

    Another alternative is to create the ADBannerView in a fixed location across all screens. It's a little bit harder than the above method, but it looks nice. For example, if you have a tab bar controller application, you can do the following in your app delegate:

        [self.myTabBarController.view addSubview:self.myAdView];
    

    It can get a little bit tricky to place other views underneath the ad.

提交回复
热议问题