Showing
1 changed file
with
2 additions
and
3 deletions
| 1 | ## 方法一 | 1 | ## 方法一 |
| 2 | **方法名:** | 2 | **方法名:** |
| 3 | - | 3 | + `#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))` |
| 4 | - `#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))` | ||
| 5 | 4 | ||
| 6 | **适用环境:** | 5 | **适用环境:** |
| 7 | 6 | ||
| @@ -13,7 +12,7 @@ | @@ -13,7 +12,7 @@ | ||
| 13 | ## 方法二 | 12 | ## 方法二 |
| 14 | 13 | ||
| 15 | **方法名:** | 14 | **方法名:** |
| 16 | -`#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))` | 15 | + `#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))` |
| 17 | 16 | ||
| 18 | **适用环境:** | 17 | **适用环境:** |
| 19 | 18 |
-
Please register or login to post a comment