I had honestly just figured this out not that long ago because I too was completely lost! What you need to do is
1: Link the iAd framework into your project
Then, go to your ViewController class, and inside the .m file, do the following
#import <iAd/iAd.h>
- (void)viewDidLoad
{
[super viewDidLoad];
// Configure the view.
SKView * skView = (SKView *)self.originalContentView;
//skView.showsFPS = YES;
//skView.showsNodeCount = YES;
// Create and configure the scene.
SKScene * scene = [SKSceneClass sceneWithSize:skView.bounds.size];
scene.scaleMode = SKSceneScaleModeAspectFill;
self.canDisplayBannerAds = YES;
// Present the scene.
[skView presentScene:scene];
}
or if you are doing a horizontal application, change viewDidLoad
with viewWillLayoutSubviews
That is all that is required :) Hope that helps!