Thats a gotcha for new players (and old ones)

Anything in Cocoa which isn't NSMutableXXXX is NOT Mutable (it can't
be mutated - changed, altered etc)

And, generally, if there is a NSXXXX, there is an NSMutableXXXX as
well, if it makes sense to change it.

On Mon, Sep 12, 2011 at 16:59, coderprojects <[email protected]> wrote:
> I missed the NSMutableUrlRequest
>
>  NSMutableUrlRequest req = new NSMutableUrlRequest(url1);
>                                        req["User_Agent"] ="Mozilla/5.0 
> (Windows; U; Windows NT 6.0; en-US)
> AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0";
>
> That worked.
>
> Thanks
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/seting-UIWebview-user-agent-objectiveC-question-tp3807602p3807799.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to