0

I have a application that switches between multiple views using transitionFromView. when I create a adbanner it only appears on the first view. if I put the adbanner on any view besides the first view, it gives a view hierarchy error. What is the correct method to display a ad on a specific view besides the first or to keep the iAd on top of multiple views.

Girish
  • 4,692
  • 4
  • 35
  • 55
jusuf
  • 21
  • 5

1 Answers1

0

I think that you have added iAd in first view of your application. If you want to add iAd in whole application, then you need to add it in UIWindow.

Girish
  • 4,692
  • 4
  • 35
  • 55
iPhone developer.
  • 2,122
  • 1
  • 16
  • 17