I have a iOS app to load a html string which refer to external css file and javascript file in the same directory.
Here is my html file:
<html>
<head>
<meta name="viewport" content= user-scalable="no", width="device-width" />
<meta http-equiv="Content-Type" content="text/html"; charset="UTF-8"/>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
<script type="text/javascript" src="myjavascript.js"></script>
</head>
The css file works fine but it seems the js file never loaded. What could be the reason?
By the way I'm using loadHtmlString: BaseUrl method to load my html string.
Thanks