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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - WPF+EF - The operation cannot be completed because the DbContext has been disposed -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -