suyuexin

Updated iPhone适配 (markdown)

1 ## 方法一 1 ## 方法一
  2 +
  3 +**适配的前提:**
  4 +
  5 +原来设计图的约束数值都是按照iPhone6的设计给的,在项目中都是按照5(4-inch)的数值实际使用的
2 **方法名:** 6 **方法名:**
3 - `#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))` 7 +
  8 +`#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))`
4 9
5 **适用环境:** 10 **适用环境:**
6 11
7 - status  
8 12
9 - 13 +
10 -  
11 14
12 ## 方法二 15 ## 方法二
13 -  
14 **方法名:** 16 **方法名:**
15 - `#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))` 17 +
  18 +`#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))`
16 19
17 **适用环境:** 20 **适用环境:**
18 21