We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议可以根据屏幕宽高比来,不用每一种设备都搞一套。 可以加个属性: 是否AspectFill 如果是,则一套就够,imgView 的 contentMode全部采用AspectFill,不同设备,会有适当裁剪,告诉设计作图时,边缘留足够空就行。 如果否,则根据屏幕宽高比来就行,目前对iPhone来说3套就够了,iPhone 5 6 6p,都是16:9,缩放不变形。iPad的项目需要单独处理,应该都是3:4。
320:480 2:3 640:1136 9:16 750:1334 9:16 1242:2208 9:16 1125:2436 9:19.5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
建议可以根据屏幕宽高比来,不用每一种设备都搞一套。
可以加个属性: 是否AspectFill
如果是,则一套就够,imgView 的 contentMode全部采用AspectFill,不同设备,会有适当裁剪,告诉设计作图时,边缘留足够空就行。
如果否,则根据屏幕宽高比来就行,目前对iPhone来说3套就够了,iPhone 5 6 6p,都是16:9,缩放不变形。iPad的项目需要单独处理,应该都是3:4。
320:480 2:3
640:1136 9:16
750:1334 9:16
1242:2208 9:16
1125:2436 9:19.5
The text was updated successfully, but these errors were encountered: