load Html WkWebView in Objective-c
I have an App that contains all .Html, .Css, JS files to my own folder on the iPhone and I just want to load that file into WkWebView in Objective-c
Base Path: file:///var/mobile/Containers/Data/Application/B03D85C5-C269-4C7A-8DAF-/Library/DOWNLOADED_CONTENT/BUSINESSETIQUET/document/
Have files like index.html , bootstrap.min.css , index.css. , test.js , jquery.min.js
NSString *htmlString = @"<html>
<head>
<script type="text/javascript" src="jquery.min.js"></script>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=2.5; user-scalable=YES"/>
<meta http-equiv="Content-Type" content="text/html; accept-charset=UTF-8">
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="index.css">
<script type="text/javascript" src="j__test.js"></script>
</head>
<body>
<div class="container">
<img id="image" src="" class="img-responsive" style="height: auto;width: auto;margin: auto;display: block;" alt="Cinque Terre"/>
<br>
<div style="font-size: 2vw;margin: auto; line-height: 1.5;float: inherit;clear: both;">
<label class="radio">
<input type="checkbox" id="opt1" class="radio-hide" name="Option"/>
<label for="opt1">
<span></span>
</label>
<div style="max-width: 75%;min-width: auto;display: inline-table;text-align:left; ">
<font size="3" face="agency_fb">Helps conceal body language.</font>
</div>
</label>
</b>
<br>
<center>
<input type="button" name="button" id="actionButtonID" value="Submit" style="background-color:#5380C1">
</center>
</div>
</div>
</body>
</html>";
NSString *contentPath = @"file:///var/mobile/Containers/Data/Application/B03D85C5-C269-4C7A-8DAF-/Library/DOWNLOADED_CONTENT/myCourses/document/index.html";
NSURL *baseURL = [NSURL fileURLWithPath:contentPath];
[wkWebView loadHTMLString:htmlString baseURL:baseURL];