iOS Question WebView with 2 strange lines?

susu

Well-Known Member
Licensed User
Longtime User
Hi, it's me again.

I set WebView background to transparent but it's still white?
There're 2 lines on right and bottom of WebView although I hide the scroll bar?

image.jpg

Please find attachment for the code.

Thank you.
 

Attachments

  • webview.zip
    402.8 KB · Views: 162

susu

Well-Known Member
Licensed User
Longtime User
Try to set the page background color to transparent in the html code.

I tried to set the background in html code but it didn't work. However, I found the way by using NativeObject.

B4X:
Dim no As NativeObject = WebView
no.SetField("opaque", False)

It took 2 days to fix it :D
 
Upvote 0
Top