I've correctly implemented iAd by adding it to my frameworks, importing it as #import <iAd/iAd.h>
, and delegating itself in the didload method and here:
@interface MainViewController : UIViewController <FBSDKSharingContent,ADBannerViewDelegate, FBSDKSharing, FBSDKSharingDelegate, UIWebViewDelegate, UIAlertViewDelegate, SegueingInfoProtocol, UIImagePickerControllerDelegate, UIDocumentInteractionControllerDelegate> {
UIWebView *webView;
}
but when I execute my application I get this error:
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named ADBannerView'
I can't get that, I implemented iAd into other apps in the same way, but here it doesn't work.