Change User Agent in UIWebView (iPhone SDK)

Posted by Steve Murch on Stack Overflow See other posts from Stack Overflow or by Steve Murch
Published on 2009-01-25T21:57:56Z Indexed on 2010/04/07 0:33 UTC
Read the original article Hit count: 1088

Filed under:
|
|

Hi everyone,

I have a business need to be able to customize the UserAgent for an embedded UIWebView. (For instnace, I'd like the server to respond differently if, say, a user is using one version of the app versus another.)

Is it possible to customize the UserAgent in the existing iPhone SDK's UIWebView control the way it is, say, for an embedded IE browser in a Windows app?

Thanks for any guidance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk