Cocos2d 0.99.5 and iAds
Learning how to integrate iAds into a Cocos2d project was suprisingly more difficult than I thought. There was not a lot of online documentation out there on how to integrate iAds in the most recent version of Cocos2d. A lot of the tutorials out there were for an older version of Cocos2d and quite honestly, I didn’t want to invest the time and effort to try to convert pre-99.5 code to post 99.5 code.
Below is a link that I found that pretty much tells you how to integrate iAds into Cocos2d 0.99.5. I literally copied and paste this snippet of code into my own with just a few minor revisions. The revisions I made were really just iAd positioning. Everything else on the code, was left as-is. You can find the link here:
http://www.cocos2d-iphone.org/forum/topic/12334
Many thanks to Gil from the Cocos2d for sharing this.