iphone4

Differentiate iPhone4 vs. iPodTouch4 in Code

Hi, I want to programmatically differentiate between iPhone4 and iTouch4. Here is what I have tried : +(BOOL) isIphone4 { if ( ![ImagePicker isIpodTouch4] ) { return NO; } if ([UIImagePickerController respondsToSelector:@selector(isFlashAvailableForCameraDevice:)]) { if ([UIImagePickerController isFla...

Testing for front or rear camera on an iPhone4

I wrote an application that sets some camera values (duration, quality, etc) using UIImagePickerController and it works fine. However, on an iPhone 4, I start with the front camera and if the user switches to the rear camera, the quality settings are lost. Is there a way that I can test if the user switches between the front and rear c...

iphone 4 - Application doesn't show image?

I've had this app on app store with no problem until iphone 4 came out. My home page has an image covering the whole screen. UIImageView added in interface builder, and image path added in interface builder. In all phones this image shows up; however, the image does not show up in any iphone 4, and instead the user sees a blank screen ...