I upgraded both my iPhone and SDK to iOS 4.0.1 and now my App doesn\'t run the same way it was running in iOS 3.x.
My App uses the UIImagePickerController with a cus
I'm finding the new scale transform for the iPhone 4 to be ~1.25 (instead of ~1.12).
I spent a few minutes trying to figure out where these magic numbers come from - I assume there's some sort of relationship between the screen resolution & the camera resolution, but I couldn't figure it out in a hurry...
If someone does, please post an answer - I hate magic numbers.
FYI the camera res of the iPhone 4 is 2592x1936, while the iPhone 3GS is 2048x1536.