Detect WKwebview

Hi guys, I search the whole internet and didn't find any reliable solution on how to detect, that our site is opened in WKwebview. Any ideas? Thanks!

In http request, you get user-agent information, telling which browser and OS is calling.

Content is like this: https://www.marketeam.com.au/articles/web-design/how-do-websites-know-if-someone-is-using-mobile-tablet-or-computer

Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1

You should check what you get when called from a WKWebView

Get other details here: https://www.quora.com/How-do-websites-know-which-OS-or-mobile-device-we-are-using

Hope that may help.

Detect WKwebview
 
 
Q