iPhone6分辨率375x667,像素750x1334
然后UI给我一张尺寸为750*1334的全屏图。上面标注一个距离是70.那么我在代码里面应该写多少?
是不是35?
闭关修行中......
Yes.
It seems that segmentFault does not allow such a short answer, but this is the correct answer...
For iPhone 6, 35 is correct. . . By the way, aren’t UI drafts generally for 640? . .
Yes.
It seems that segmentFault does not allow such a short answer, but this is the correct answer...
For iPhone 6, 35 is correct. . . By the way, aren’t UI drafts generally for 640? . .