cocoa - How to refresh an html string in a webview? -


my cocoa app generates html-table string displayed inside webview with:

[[webview mainframe] loadhtmlstring:htmltable baseurl:nil]; 

this working fine first time. however, on subsequent calls of method, webview not updated, although contents of htmltable string different.

after googling hour found method 4 uiwebview.

- (bool)webview:(uiwebview *)webview shouldstartloadwithrequest:(nsurlrequest *)request navigationtype:(uiwebviewnavigationtype)navigationtype 

but cannot find in documentation of "normal" webview. so, have refresh webview?


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -