- Home /
iAd Interstitial Will Not Display
I have basically copied and pasted the code from the Unity docs to implement an iAd interstitial in my app, but the ad will not display (see log message below). The interstitials worked until I upgraded to 4.6.1. I also have a banner implemented, but that works just fine. Xcode prints out the following:
<ADInterstitialAdPresentationViewController: 0x19824e20> on <UnityDefaultViewController: 0x199814c0>
whose view is not in the window hierarchy!
Thanks in advance.
Hi, did you get this sorted out? I've just ran into the same problem.
I went back from Unity 4.6 to 4.5 and the issue was fixed. So it is certainly something in the update to 4.6. I use UnityGetGLViewController() to get the viewcontroller for showing ads.
Oh and it is not only iAd, it is Ad$$anonymous$$ob also.
I have not found a fix to this yet. I contacted support and the issue was added to the "community support queue." Hopefully a resolution is on its way :)