I am using the method render()…it works fine in browser but on simulator after so many times of calling render() (after 3 calls) then everything freezes.


Normally it must not be the problem.
Can you provide some kind of sample, where issue can be reconstructed?

Use same sample that I sent you via PM to test this in simulator

Works correctly for me on both simulator and live device.

Thanks I will try it out