Hi guys!
Is there anyone who have implemented AdWhirl in their cocos2d-x app for ios?
I implemented the necessary functions for AdWhirl to use, and added the different ad sdk’s that i use. Everything compiles without problem.
My question is thou how to actually display the ads and where can i specify where to show them?
The only code I have now is this located in the IOSAppController.mm
- (NSString **)adWhirlApplicationKey {
return @“THE_KEY”;
}
>- viewControllerForPresentingModalView {
return .keyWindow.rootViewController;
}
>- applicationDidFinishLaunching:application {
AdWhirlView**adWhirlView = [AdWhirlView requestAdWhirlViewWithDelegate:[EAGLView sharedEGLView];
[[EAGLView sharedEGLView] addSubview:adWhirlView];
}
Feels like something is missing….