美文网首页
use iRate in cocos2d-x

use iRate in cocos2d-x

作者: 芦苇叶 | 来源:发表于2016-01-28 23:29 被阅读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!

    相关文章

      网友评论

          本文标题:use iRate in cocos2d-x

          本文链接:https://www.haomeiwen.com/subject/xhsjkttx.html