ios8 - How to load html string by use WKWebView -
how load html string use wkwebview.
i found loadrequest
method. way can think of save html string file, , load nsurlrequest
.......
in beta 3 found in wkwebview
/*! @abstract sets webpage contents , base url. @param string string use contents of webpage. @param baseurl url used resolve relative urls within document. @result new navigation. */ func loadhtmlstring(string: string!, baseurl: nsurl!) -> wknavigation!
so can load html string did uiwebview
Comments
Post a Comment