Is there any other way than @2x to let iOS know that the graphic is Retina Display ready?

Yes there is ... when you load an image resource into an UIImage you can set the scale of that image yourself, ie. Tell the iOS whether your image is @2x or not This is the code to load the @2x images (in the example from a file, but you can put whatever you want): UIImage alloc initWithCGImage:UIImage imageWithData:NSData dataWithContentsOfFile:path CGImage scale:2.0 orientation:UIImageOrientationUp This is the code to load low res images: UIImage alloc initWithCGImage:UIImage imageWithData:NSData dataWithContentsOfFile:path CGImage scale:1.0 orientation:UIImageOrientationUp Cheers, Marin.

Yes there is ... when you load an image resource into an UIImage you can set the scale of that image yourself, ie. Tell the iOS whether your image is @2x or not. This is the code to load the @2x images (in the example from a file, but you can put whatever you want): UIImage alloc initWithCGImage:UIImage imageWithData:NSData dataWithContentsOfFile:path CGImage scale:2.0 orientation:UIImageOrientationUp; This is the code to load low res images: UIImage alloc initWithCGImage:UIImage imageWithData:NSData dataWithContentsOfFile:path CGImage scale:1.0 orientation:UIImageOrientationUp; Cheers, Marin.

Thanks Marin, that was what I was looking for. – Cy. Nov 29 '10 at 21:42.

I have a web service producing two versions of graphics; one for Normal Display and another for Retina Display. Unfortunately I can't add the @2x to the filename since I don't have access to that code. Is there any way to let the iPhone know that what's loading from the web is a @2x graphic?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions