我正在尝试将 iAd 添加到我的项目中。我正在关注本教程http://bees4honey.com/blog/tutorial/how-to-add-iad-banner-in-iphoneipad-app/
我刚刚将 iAd.framework 包添加到我的项目中并将其设置为弱。我添加#import <iAd/iAd.h>
到我的 .h 文件中,但每当我尝试添加 ADBannerViewDelegate 时,它都不会出现在智能感知中,这意味着我无法访问它。
ADBannerView 类和委托方法也是如此(以防我添加委托)。
有任何想法吗?