Hey guys,
I am trying to change my user agent like this
Code:
[req setValue:userAgent forHTTPHeaderField:@"User-Agent"];
Where userAgent is an NSString and it seems to work in the app because when I NSLog it it shows up as what I changed it to
Code:
NSLog(@"user agent = %@", [req valueForHTTPHeaderField: @"User-Agent"]);
But when I go to this site
Whats My User Agent? the user agent is unchanged. Does anyone know why this could be.
Thanks
Clinton