Thanks 2Š

Karl

From:  Wally McClure <[email protected]>
Date:  Wed, 1 Jun 2011 21:49:29 -0400
To:  <[email protected]>, "[email protected]"
<[email protected]>
Subject:  Re: [MonoTouch] loading an image from a url

Beautiful.  Thanks David.  I knew I didn't want to download to a "temp" file
and then deal with the clean up issues afterwards.

Wally


Date: Wed, 1 Jun 2011 15:14:17 -0700
Subject: Re: [MonoTouch] loading an image from a url
From: [email protected]
To: [email protected]
CC: [email protected]

NSUrl nsUrl = new NSUrl(uri.AbsoluteUri);
NSData data = NSData.FromUrl(nsUrl);
UIImage image = new UIImage(data);

On Wed, Jun 1, 2011 at 3:03 PM, Wally McClure
<[email protected]> wrote:
> Does anyone have some code for loading an image from a url?
> 
> Wally
>        
> 
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
> 



-- 
David Moles
[email protected]

       
_______________________________________________ MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to