Graphics development for iPhone4 and old iPhones was changed in several ways:
- The concept of point was introduced
to replace pixel. - Methods of
UIImagewill load high
resolution resource files with @2x
in the file name. - Scale factor was added to
UIScreen,
UIView,UIImage, andCALayer
classes.
So if we handle CGImage carefully, it’s not hard to support the high resolution Retina display of iPhone4.
I have several questions about non-native iPad app in iPad 2x mode:
-
Could all the changes from old
iPhone to iPhone4 (@2x resources
auto loading, point concept, scale
factor) be applied to iPad 2x mode. -
The scale of app on iPad can be
changed. How can I handle it?
Unfortunately, all of those content scale functions were added in 4.0, so I don’t think there’s any way to use the iOS4 stuff that you’re asking for.