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
Post a Comment