In specifications
IPhone 4 screen resolution and pixel density * iPhone 4 has a screen resolution of 960 × 640 pixels, which is twice as much as previous iPhone models
As we know, when we code this,
CGImageRef screenImage = UIGetScreenImage();
CGRect fullRect = [[UIScreen mainScreen] applicationFrame];
CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, fullRect);
saveCGImage will have a size (320,480), my question is, what about the iPhone 4? Is it (640,960)?
Another question is about the black image in thumb mode, when you open Photo.app, if so,
CGImageRef screenImage = UIGetScreenImage ();
CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, CGRectMake(0,0,320,460));
The problem is that when you open "Photo.app" in the thumb view, these images look black, when you click on it to see the details, this is normal. Any solutions for this problem now?
Thank you for your time.
update questions:
UIGetScreenImage() iPhone 4, 320x480?