想获取当前的屏幕朝向,想等那个home朝上时,调用一个函数,在1.0.0版本中有个(ccDeviceOrientation) - deviceOrientation ,是这个吗?为什么老是报错,并且很奇怪,这个函数在系统cocos2d中没声名,谢谢啊
是不是 UIDevice currentDevice].orientation
另外屏幕朝向也可以由 CLLocation里的didUpdateHeading函数里获得
想获取当前的屏幕朝向,想等那个home朝上时,调用一个函数,在1.0.0版本中有个(ccDeviceOrientation) - deviceOrientation ,是这个吗?为什么老是报错,并且很奇怪,这个函数在系统cocos2d中没声名,谢谢啊
是不是 UIDevice currentDevice].orientation
另外屏幕朝向也可以由 CLLocation里的didUpdateHeading函数里获得