Question

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?

Était-ce utile?

La solution

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).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top