I have a black theme app and sometimes when the app starts, or even when i call a native plugin the background appears white. I want to change this to back if it is possible. Thanks
I think you will have to set the background colour (on iOS the wkwebview background and the background of the scrollview) within the native code. For iOS that would be somewhere after the webview declaration within the method pluginInitialize in CDVWKWebViewEngine.m
@wilk-polarny thanks I will definitely try it and let you know.
Just solve it with this line of code in the CDWKWebViewEngine.m just after the WebViewEngine is created.
webView.opaque = false
Most helpful comment
Just solve it with this line of code in the CDWKWebViewEngine.m just after the WebViewEngine is created.
webView.opaque = false