0

On Google Chrome there is this option "Website for computer". Many websites recognize that your are using mobile phone and they redirect you to another website made for mobiles.

I just need to don't let them to recognize that I'm using a UIWebview from IOS.

2 Answers2

0

I imagine you can get this effect by changing the user agent.

That should work with most web sites, unless they are really serious about trying to detect mobile devices (by checking window size, etc).

Community
  • 1
  • 1
Thilo
  • 257,207
  • 101
  • 511
  • 656
0

I solved with this:

NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:@"Your user agent", @"UserAgent", nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:dictionary];