Pregunta

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

¿Fue útil?

Solución

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!

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top