I’m reading through Apple’s Safari Web Content Guide. It contains some interesting information on how iOS’s Safari (and I presume all applications that use WebViews). For example:
If your script executes for more than 10 seconds, Safari on iOS stops executing the script at a random place in your code, so unintended consequences may result.
Good to know.