We observed similar problems in our manufacturing application. I created an error reduction when I repeatedly clear the web view (load "<html> </html>"), then load the following URL into the UIWebView:
http://typecast.com/preview/google/Mr%20Bedfort/Sigmar%20One/Miss%20Fajardose
This provides a reliable application crash after approximately 180 loads. I wrote a bug report with Apple as problem identifier 15659596, and I'm waiting for an answer.
However, I still do not understand in what situations this happens exactly, and when not. Obviously this happens for this url, but I also checked the same procedure with:
- The same web content that noticed a problem in the wild in our application
- Search Google Image for terms such as "cat" and "dog."
In both of these scenarios, the problem does not occur. I do not observe a long-term increase in memory usage, and the application does not crash.
So, I have no answer for you, but I can confirm that the problem exists with the UIWebView, which I reported to Apple about it, and that it seems to be related to web fonts.
Michael melanson
source share