objective c - ios webview loadHTML string with link css -


i load html string in link local css file lies in docment folder,

...<head><link href="a.css">...</head>...

then call webview.loadhtml:htmlstring baseurl:docurl; css loaded ok. change a.css 's body {background:url(b.gif);} //previous a.gif, pop webview's view controller, , re-push new 1 in webview load same html string link same css body's background image has been changed. comes problem: times webview load changed background, while times load old image though css changed! , maybe realloc view controller times, maybe load right one! can teach me how fix it? lot!


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -