-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change user-agent #36
Comments
You can't at the moment. I will add support for that very soon. |
OK no problem. When do you think it will be possible ? |
If you need to do this fast, you can use this line of code when your app launches: NSUserDefaults.standardUserDefaults().registerDefaults(["UserAgent": "My User Agent"]) That'll change your user agent globally. WKWebView on iOS 9 allows you to change it individually I believe, so I'll add that support in SwiftR. But if you're supporting anything other than WKWebView on iOS 9, you'll need to use the line above anyway. |
Oh perfect ! Thank you a lot !! |
Hi,
How can i change the user agent of the SignalR connection ?
Thank you by advance
The text was updated successfully, but these errors were encountered: