I'm trying to add iAd into my project. I'm following this tutorial http://bees4honey.com开发者_Go百科/blog/tutorial/how-to-add-iad-banner-in-iphoneipad-app/
I just added the iAd.framework package to my project and set it as Weak.
I added #import <iAd/iAd.h>
into my .h file but whenever I try to add the ADBannerViewDelegate it doesn't show up in the intellisense, which means it's not accessible to me.
Same thing for ADBannerView class and the delegate methods (in case I add the delegate anyway).
Any ideas?
Restart XCode and set your target to "Device". The framework might not show up on intellisense but should work nevertheless.
精彩评论