Showing
1 changed file
with
18 additions
and
7 deletions
1 | -## 适配的方案 | 1 | +## 方法一 |
2 | -**方法1:** | 2 | +**方法名:** |
3 | -/#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))/ | 3 | + |
4 | + '#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))' | ||
5 | + | ||
6 | +**适用环境:** | ||
7 | + | ||
8 | + status | ||
9 | + | ||
4 | 10 | ||
5 | -**方法2:** | ||
6 | -/#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))/ | ||
7 | 11 | ||
8 | -**项目的原数值:** | 12 | + |
9 | -项目内的 | 13 | +## 方法二 |
14 | + | ||
15 | +**方法名:** | ||
16 | +`#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))` | ||
17 | + | ||
18 | +**适用环境:** | ||
19 | + | ||
20 | + |
-
Please register or login to post a comment