Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // User-Agent for all UIWebView in your app, originally posted by @_kims
- NSDictionary *dictionary = [[NSDictionary alloc] initWithObjectsAndKeys:@"Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3", @"UserAgent", nil];
- [[NSUserDefaults standardUserDefaults] registerDefaults:dictionary];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement