0.0 0


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

  • (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….


i don’t know if you have resolved the problem:

i have a question:
in file .cpp there can be function written in objective-c?
how can you integrate adwhirl in cocos2d-x?