Just wasted some time trying to understand why my WebView was not working. It seemed that the Javascript included on the HTML page (<script src=...) was not working properly.
Turned out the included script file is just being cached, and I have to restart Pythonista to get the latest version. Calling reload made no difference.
Looking on the net, it seems I might need to empty the shared URL cache. Could someone help me translate the following to objc_util?
[[NSURLCache sharedURLCache] removeAllCachedResponses];
Or other options for ensuring that the latest script is loaded (without adding any random parts to the URL)?
Thanks,
Mikael