Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gbf.sara

macrumors newbie
Original poster
May 30, 2010
5
0
Ive an image with particular resolution appearing on Iphone screen. I need to resize that image by getting info. as an alert from user(Width and height). Cud anyone help me with block of code for this????
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Wait! You want us to write your code? Show us the money!

What you want to do is create a graphics context of the size you want, draw the image into that at the correct size then extract the image from it. There are functions in the SDK for all of this. Go read the documentation.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.