Loading a local file into a UIWebView control

J. Landman Gay jacque at hyperactivesw.com
Wed Sep 14 19:12:26 EDT 2011


I can't get a local file to load into a UIWebView control. The control 
loads a remote url from my server okay, so it's working. The file has 
been copied to the app's documents folder and is valid. I'm using this url:

put "file://" & specialFolderPath("documents") & slash & "docs.html" 
into tURL
iphoneControlSet sBrowserID, "url", tURL

I get a blank browser control. What did I miss?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list