ilan Expert Licensed User Longtime User Jun 24, 2020 #1 is it possible to change the WKWebview Background color from white to black? it always appears white even i add this: B4X: wkweb.BaseView.Color = Colors.Black i also tried this (according to this site): https://stackoverflow.com/questions/27655930/how-can-i-give-wkwebview-a-colored-background/33569213 B4X: Dim no As NativeObject = wkweb no.SetField("opaque", False) no.SetField("backgroundColor", no.ColorToUIColor(Colors.Black)) no.GetField("scrollView").SetField("backgroundColor", no.ColorToUIColor(Colors.Black)) but still white Last edited: Jun 24, 2020
is it possible to change the WKWebview Background color from white to black? it always appears white even i add this: B4X: wkweb.BaseView.Color = Colors.Black i also tried this (according to this site): https://stackoverflow.com/questions/27655930/how-can-i-give-wkwebview-a-colored-background/33569213 B4X: Dim no As NativeObject = wkweb no.SetField("opaque", False) no.SetField("backgroundColor", no.ColorToUIColor(Colors.Black)) no.GetField("scrollView").SetField("backgroundColor", no.ColorToUIColor(Colors.Black)) but still white
Semen Matusovskiy Well-Known Member Licensed User Jun 24, 2020 #2 What's wrong in CSS, which allows to describe colors of body, scrollbars etc. ? Upvote 0
ilan Expert Licensed User Longtime User Jun 24, 2020 #3 Semen Matusovskiy said: What's wrong in CSS, which allows to describe colors of body, scrollbars etc. ? Click to expand... actually you are right, my mistake sorry Upvote 0
Semen Matusovskiy said: What's wrong in CSS, which allows to describe colors of body, scrollbars etc. ? Click to expand... actually you are right, my mistake sorry