So I have an iOS app, and when there are no available ads to be displayed I want to display my own ad instead of hiding the banner. My custom ad is just an image, and when the user clicks on it I want to send him to an URL. What is the simplest way to do this that doesn’t involve using another library like adWhirl? If it’s not possible to place the image directly inside the banner, how would I scale the image to the banner size and place it there?
Share
You cannot put your own image inside the iAd banner (which I think is your hope).
Make sure you DO hide the iAd banner when there are no ads.
Then add/remove your own ad view when appropriate – your own ad view could be as simple as a uiButton.