1. After adaptation iPhone iPhone 4, 4s a xib iPhone 5 5s xib iPhone6 a xib
2. According to ios6 and then fine-tune ios7 problem is that the status bar
3.#define isIPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO) //这个是判断是不是IPhone5
4. autolayout automatic layout adapted ios5 have no words to say this function is not perfect and can not collapse so good I can not be checked checkmark
5. Align the top left corner to select next and then go on their own layout
schematic diagram:
Reproduced in: https: //www.cnblogs.com/someonelikeyou/p/3945873.html