I have a strange white "flash" before the browser control load the url. Any idea how avoid it? I try setting the background color but still the same effect.
Any idea?
This is my code:
Code: Select all
iphoneControlCreate "browser"
put the result into mScrollerId
iphoneControlSet mScrollerId, "visible", "true"
iphoneControlSet mScrollerId, "canBounce", "true"
iphoneControlSet mScrollerId, "autoFit", true
iphoneControlSet mScrollerId, "delayRequests", "true"
iphoneControlSet mScrollerId, "rect", (the left of image "pagina" , the top of image "pagina", the right of image "pagina" , the bottom of image "pagina" )
put "file://" & specialFolderPath("engine")&"default.html" into localURL
replace " " with "%20" in localURL
iphoneControlSet mScrollerId, "url", localURL
Josep M