ios - How to identify UIWebView as Safari -


hi uiwebview identifying mozzila/5.0 (iphone; cpu iphone os 6_1_2 mac os x), , safari identifying safari ios6. , webpage want load uiwebview support safari... there way change programmatically? used https://browsercheck.qualys.com/ check browser.. thank response!

change default useragent of web browser:

nsdictionary *dictionary = [nsdictionary dictionarywithobjectsandkeys:@"apple-iphone/501.347", @"useragent", nil]; [[nsuserdefaults standarduserdefaults] registerdefaults:dictionary]; [[nsuserdefaults standarduserdefaults] synchronize]; 

useragent list website


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -