When using a UIWeb view, how can I create HTML content? For example, I have some header html code. Then, I would like to include a JavaScript script and pass data to it. Once the JavaScript is injected, I want to add the remaining HTML content from a .html file.
The JavaScript code might look something like this:
<script type="text/javascript">
var script_object = myNSStringValue1;
var volunteer_name = myNSStringValue2;
</script>
Any suggestions on how to proceed with this?