首页 > 代码库 > add Admob with Cocos2d-x on iOS
add Admob with Cocos2d-x on iOS
add Admob with Cocos2d-x on iOS
(2013-02-27 14:12:00)标签: c=blog&q=it&by=tag" target="_blank" style="text-decoration:none; color:rgb(62,115,160); white-space:nowrap">it |
@interface AppController : NSObject <</span>UIAccelerometerDelegate, UIAlertViewDelegate,UITextFieldDelegate,UIApplicationDelegate, GADBannerViewDelegate> {
}
4. in AppController.mm
5. we are not over Yet!!!
(http://stackoverflow.com/questions/12635283/admob-crashes-with-gadobjectprivate-changestate-unrecognized-selector)
You need to add -ObjC
- Click the blue top-level project icon in XCode
- Choose your target and go to
Build Settings - Under
Other Linker Flags add -ObjC
for both Release and Debug
add Admob with Cocos2d-x on iOS