Standard practice: Auto layout
Which: You can also use code to Judge 1, if not hardcode, and how will not be compatible with it. 2, if you write all 320*480 is also compatible 3, write 320 well is hardcode AH. 4, I found that many applications have not yet adapted to the big screen, are magnification mode 5, sizes class is good 6, the former with Al now at least fit the SC can be 7, so that code code must be eliminated HardCode Note: SB + Al is a trend. Reduce the amount of development of the ipad and iphone overall view strategy is different, the iphone is the push multi-IPad is popover many simultaneous introduction use constraint (Automatic layout), at first will not be used to, then will feel good cool. now more than a lot of things, local, pop-up box this or to hand-written (this), the original words pop-up box can be directly with the VC to process a screen to the second VC as the background.
iOS adaptation screen