Last active
October 10, 2015 21:28
-
-
Save champierre/3753734 to your computer and use it in GitHub Desktop.
How to change user agent on iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSDictionary *dictionary = [[NSDictionary alloc] initWithObjectsAndKeys:@"custom user agent", @"UserAgent", nil]; | |
| [[NSUserDefaults standardUserDefaults] registerDefaults:dictionary]; | |
| [dictionary release]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment