阅读背景:

使用EXC_BAD_ACCESS(…)从c++调用swift func

来源:互联网 

I am working on xcode8 swift 3.0 project. It needs to access a C++ library which will need a callback function to send data back to swift caller asynchronizely. The callback does work if it is called right inside the RegisterCallBack function. However, if it crashes if call it outside the RegisterCallBack function.I am working on xcode8 swift 3.0 project. It ne




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: