Pergunta

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?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top