@JonB said:

@mikael -- supposedly wkwebview has a custom useragent property that makes this easier. Does your wkwebview wrapper support that?

It does now :-) There is a user_agent property that can be used to set a custom user agent string. I have not yet gotten it to return the default when custom is not set, but that is not relevant here.