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