How to handle CGAffineTransformMakeTranslation in classic / nonretina display

On one of the pages of my application there are three types. Each view has 4 to 5 controls, and all three views are in the UIScrollView . At some point, I hide the middle view and translate the lastview instead of the middle one instead. The code is as follows:

 lastview.transform = CGAffineTransformMakeTranslation(0, -270); 

The problem is that it works on the retina screen, but not on the display without the retina; for example, a 3GS display.

+4
source share

All Articles