I'm using the Google chart api along with a UIWebView in my iPhone app.
http://code.google.com/apis/chart/
In some cases, there's a delay in the load time of the chart since it's embedded in the page. When that occurs, the area on screen will be blank until a touch event occurs on the screen and it refreshes to display the chart.
I can't find a way to simulate this touch, and using setNeedsDisplay doesn't seem to solve the problem either. I've also tried using performselector with a delay to call setNeedsDisplay, but that doesn't help.
Does anyone know a safe way to refresh the page without a full reload, or run into a similar problem.
I'm open to javascript hacks to make this refresh properly, if that will even work. The charts seem to load fine in mobile safari, but UIWebView seems to suffer from some quirks, as far as I can tell.
I'm loading this from a private server for a client, otherwise I would share the code directly. I may put together a separate sample, if this is not enough information to go off of.