S sujithkrishnan macrumors 6502 Original poster May 9, 2008 265 0 Bangalore Apr 7, 2009 #1 In my app im setting cell.image to image fetched from some url.But image is too big so i want to scale this image so how to achive this.
In my app im setting cell.image to image fetched from some url.But image is too big so i want to scale this image so how to achive this.
J jnic macrumors 6502a Oct 24, 2008 567 0 Cambridge Apr 8, 2009 #2 Code: imageView.frame = CGRectMake(x, y, width, height); imageView.image = image; https://developer.apple.com/iphone/...ce/UIImageView_Class/Reference/Reference.html https://developer.apple.com/iphone/...erence/UIImage_Class/Reference/Reference.html You should really be resizing the image on the server side though, so you're sending less data over the air (so it'll be faster over GPRS/3G/Edge).
Code: imageView.frame = CGRectMake(x, y, width, height); imageView.image = image; https://developer.apple.com/iphone/...ce/UIImageView_Class/Reference/Reference.html https://developer.apple.com/iphone/...erence/UIImage_Class/Reference/Reference.html You should really be resizing the image on the server side though, so you're sending less data over the air (so it'll be faster over GPRS/3G/Edge).