How do I set a custom useragent string in a WKWebView? I\'m trying to embed the version of my app so that my server-side can see what features are available. I found the followi
You'll be happy to hear that WKWebView just gained a customUserAgent property in iOS 9 and OSX 10.11
WKWebView
customUserAgent
iOS 9
OSX 10.11
Example:
wkWebView.customUserAgent = "your agent"