fixed background UIWebView [duplicate]
Possible Duplicate:
Workaround for '开发者_Python百科;background-attachment: fixed' which is not working in iOS4
I have a problem, there is a way for fix the background on UIWebView with css? thank you
kikko088
Not quite sure if this is the answer you're looking for, but you can inject javascript into a UIWebView page.
http://iphoneincubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview
In theory you could just call document.write to write any html you need. If you have control over the html/css file, you could just add
<style type="text/css">
body
{
background-image:url('smiley.gif');
background-repeat:no-repeat;
background-attachment:fixed;
}
</style>
精彩评论