Showing
1 changed file
with
3 additions
and
2 deletions
1 | ## 适配的方案 | 1 | ## 适配的方案 |
2 | **方法1:** | 2 | **方法1:** |
3 | - | ||
4 | /#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))/ | 3 | /#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))/ |
5 | 4 | ||
6 | **方法2:** | 5 | **方法2:** |
7 | - | ||
8 | /#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))/ | 6 | /#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) ([DeviceTools is5p5InchPhone] ? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))/ |
7 | + | ||
8 | +**项目的原数值:** | ||
9 | +项目内的 |
-
Please register or login to post a comment