Peter Fortuin
Peter Fortuin

Reputation: 5228

How to place a ADBannerView outside of UINavigationController

I have a application that make use of a UINavigationController. In the rootview I have added a iAd ADBannerView. When the user navigates to another view the ADBannerView moves away. So, the idea is that I keep the ADBannerView on the screen.

Can someone help me out with this?

Upvotes: 1

Views: 1233

Answers (1)

Jasarien
Jasarien

Reputation: 58458

Add the banner as a subview of the window, and then move your navigation controller's view down so it fits below the banner view.

Upvotes: 1

Related Questions