I'm in the process of migrating some code over from UIWebView to a WKWebView on a iOS project. I'm currently trying to make a wkwebview transparent but the functionality doesn't seem work. I could do this on a UIWebView by doing this
self.opaque = NO;
self.backgroundColor = [UIColor clearColor];
and setting the html page to be transparent via styling would allow me to see the view content underneath.
If I try the same code on a WKWebView the background of the html page isn't becoming transparent. I've had search on google and there seems to be work around for MacOS X but I can't see to find a solution for iOS.
This is how it's done on a UIWebView (How to make a transparent UIWebView) Has anyone any ideas if this is possible?
Thank you.