Loading a local file into a UIWebView control

Gerry Orkin gerry.orkin at gmail.com
Wed Sep 14 22:11:01 EDT 2011


Mine works with 2, but oddly, if I remove the %20 replace it doesn't. Here's an example:

put "file://" & specialFolderPath("Documents")&"/"&"hearts.html"  into  localURL
replace " " with "%20" in localURL
iphoneControlSet sHeartsScrollerId, "url", localURL

Gerry

On 15/09/2011, at 11:59 AM, J. Landman Gay wrote:

> Anyone know how many slashes should there be? I've seen examples with none, one, two, and three.




More information about the use-livecode mailing list