Loading an image from a url with MonoTouch on the iPhone
To load an image into a UITableViewCell use the code below to load image from url.NSUrl nsUrl = new NSUrl(weburl);
NSData imgdata = NSData.FromUrl(nsUrl);
var myImage = new UIImage(imgata);
cell.ImageView.Image= myImage;
http://adnankhan12.wordpress.com/2012/12/08/loading-an-image-from-a-url-with-monotouch/
No comments:
Post a Comment