I'd like to generate some revenue for my OpenGL based iPhone app w/ Apple's iAds. Everything in the app is done w/ OpenGL including menus, buttons etc. How do I add iAds to my app?
More info: I've looked over sample code from Apple and I'm still stuck. Just fyi I currently don't use any view controllers. All I have is a "Window". I tried adding the bannerView to the window with the addSubView method but it just crashes the app. For some reason this works fine with the MailComposerView. Any help is appreciated!
More info: I created a subclass of UIViewController and put a BannerAd on it. Now the test advertisements show up. How do I make the rest of the UIView transparent such that the ads show up (with an alpha of 1.0) and I can also click on my buttons being created w/ OpenGL on the window below the UIViewController?