Prior to iOS 5, I've been using method swizzling to rewrite the User-Agent for a UIWebView's NSURLRequest. Pretty much just like
this page describes.
With iOS 5, though, it seems that UIWebView isn't relying on NSURLRequest anymore (or at least the method that I was swizzling before) so my custom User-Agent stopped working. I'm looking for a new method to accomplish this. Can anyone help me out here?
Thanks!