Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | -## 方法一 | 1 | +## 适配的前提 |
| 2 | - | ||
| 3 | -**适配的前提:** | ||
| 4 | 2 | ||
| 5 | 原来设计图的约束数值都是按照iPhone6的设计给的,在项目中都是按照5(4-inch)的数值实际使用的 | 3 | 原来设计图的约束数值都是按照iPhone6的设计给的,在项目中都是按照5(4-inch)的数值实际使用的 |
| 4 | + | ||
| 5 | +## 方法一 | ||
| 6 | **方法名:** | 6 | **方法名:** |
| 7 | 7 | ||
| 8 | `#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))` | 8 | `#define LayOutForScaleIPhone6P(offsetForIPhone6) ([DeviceTools is5p5InchPhone] ? (1.294 * offsetForIPhone6) : LayOutForScale(offsetForIPhone6))` |
-
Please register or login to post a comment