使用cocos2d-x进行c++与oc混编,如何将c++截取的屏幕试图,传到oc中也能访问得到?并且可以展示出来?
CCUtils
void captureScreen(const std::function<void(bool, const std::string&)>& afterCaptured, const std::string& filename)
使用cocos2d-x进行c++与oc混编,如何将c++截取的屏幕试图,传到oc中也能访问得到?并且可以展示出来?
CCUtils
void captureScreen(const std::function<void(bool, const std::string&)>& afterCaptured, const std::string& filename)