我刚开始,按照91提供的文档,在cocos2dx ios下
//初始化
NdInitConfigure *cfg = NdInitConfigure alloc] init] autorelease];
cfg.appid =100010;
cfg.appKey =@"C28454605B9312157C2F76F27A9BCA2349434E546A6E9C75";
//这里以竖屏演示下orientation的设置,默认的为空表示不设置
cfg.orientation = UIDeviceOrientationLandscapeRight;
cfg.versionCheckLevel = ND_VERSION_CHECK_LEVEL_NORMAL;
NdComPlatform defaultPlatform] NdInit:cfg];
每次执行第一句程序直接就退出了