When I use iOS 7 iAds like this, they are placed at the bottom of the screen:

- (void)viewDidLoad {
    self.canDisplayBannerAds = YES;
}

How can I place them at the top instead?

有帮助吗?

解决方案

There is no way right now, if you are displaying iAds using the UIViewController additions. Have a look at the official Apple documentation to it here.

You can see that:

Banner ads are displayed below the content.

In order to place the ads above the content, you would have to create and ADBannerView manually (programatically).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top