I agree, it seems like if you set preferredContentMode to desktop, then the User Agent should probably be "desktop".
However, WKWebView has a customUserAgent property, so you can just use some string manipulation to "fix it".
Topic:
Programming Languages
SubTopic:
Swift
Tags: