我在用这个。在我将我的 iPhone 升级到 IOS 6.1 之前,它运行良好。
[[session_ipos outputStream] write:ui8Buff maxLength:tot];
现在它给出错误信息:
ERROR - /SourceCache/ExternalAccessory/ExternalAccessory-213/EAOutputStream.m:-[EAOutputStream write:maxLength:] - 230 failed to write because stream does not have space available
最佳答案
尝试在UI线程中编写
EASession _session
InvokeOnMainThread (() => {
_session.OutputStream.Write(byteArray);
});
关于iphone - EAOutputStream 写入 :maxLength: - 230 failed to write because stream does not have space available,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14723156/