I’m have small app that simulate physics (box2d) and sending network data using pub nub.(Realtime sockets framework) The issue is, when pubnub send the data, the sprite object (which get simulated by box2d) is stopped for a little and then continue. This happen every time data is send. I tried to it in another thread, but it continue to happen.

Any advice?

xCode 5, cocos2d 2.1

Update: FIXED.

Disable all logging https://github.com/pubnub/objective-c/blob/master/iOS/README.md#logging

有帮助吗?

解决方案

Disabling all logging fixes the issue! https://github.com/pubnub/objective-c/tree/master/iOS#logging to see how its done. Ping us again if any issues arise!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top