It seems UIWebView is quite buggy, which can cause hangs and crashes quite frequently when we sent a lot of updates to a remote over the websocket.
To prevent this, we use requestAnimationFrame in the remote library now. The situation has gotten much better with it, but there are still some problems remaining: When sending updates really fast, it sometimes happens that the requestAnimationFrame callbacks are simply not called anymore. Furthermore, we sometimes get a UIWebView crash when requesting an animation frame.
I don't suppose there is really much we can do about it, unfortuantely.
It seems UIWebView is quite buggy, which can cause hangs and crashes quite frequently when we sent a lot of updates to a remote over the websocket.
To prevent this, we use
requestAnimationFrame
in the remote library now. The situation has gotten much better with it, but there are still some problems remaining: When sending updates really fast, it sometimes happens that therequestAnimationFrame
callbacks are simply not called anymore. Furthermore, we sometimes get a UIWebView crash when requesting an animation frame.I don't suppose there is really much we can do about it, unfortuantely.