Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想添加
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error
但它不会让我,我不知道在这里放什么,使它成为 iAD 代表:
@interface MyAppDelegate : UIResponder <UIApplicationDelegate, HERE>
发现我需要包括:
#import <iAd/ADBannerView.h>
并将其用于此处:
ADBannerViewDelegate