use iRate in cocos2d-x
2016-01-28 本文已影响0人
芦苇叶
There will be an error: [AppController window]:unrecognized selector . if you follow the instruction in https://github.com/nicklockwood/iRate.
This is how to fix this:
1, In AppController.h
comment the window variable;
// UIWindow *window;
add :
@property(nonatomic,retain) UIWindow* window;
2, In AppController.m
add:
@synthesize window;
Done!