Integrate iAd in Cocos2D-Swift Projects Easily

cocos2d-iad-swift allows you to seamlessly integrate iAd into your cocos2d-Swift project. To use it, import the files into the Source folder of your Xcode project. Then, navigate to your Project directory in Xcode, open the Build Phases tab, and add iAd.framework under 'Link Binary With Libraries'. For loading banner ads, use iAdHandler.sharedInstance.loadAds(bannerPosition: BannerPosition) with BannerPosition set to either Top or Bottom. Display the banner ad with iAdHandler.sharedInstance.displayBannerAd().

zip 文件大小:5.05KB