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