iAds showing in Simulator but not on device

2019-07-20 10:36发布

问题:

I have incorporated iAds into a new version of my iOS program. Everything seems to be working great in the simulator, with test iAds being loaded and the ADAdBanner being moved up into the screen when ad material comes in.

When I run the program on my device, however, no test ads get loaded.

Is this normal behavior, or should I have gotten test ads on my device as well? I am thinking maybe this is normal but that ads will come through once it is published to Apple.

Thanks

回答1:

You have to enable iAds on your binary in iTunes Connect.



回答2:

Also, if that doesn't work, delete the app from your device and reinstall.



标签: iphone iad