objective-c - iOS adaptation issues
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-02 09:35:01
0
1
481

For a company project, the design only provided pictures at 5s. When I was working on it, I found that if I didn’t multiply the screen ratio (using automatic layout), things would appear smaller at 6p. My boss asked me to zoom in, but if If they are all enlarged proportionally, then the things displayed on the 5s, 6, and 6p will be exactly the same. Will this make the things on the 6p appear too big?
Please give me an answer. What is the concept of constraints? Should everything be multiplied by the proportional coefficient and then they will be the same? Or not multiplied by the proportional coefficient and appear smaller? Can you recommend any good solutions? Thanks

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
Ty80

Even if you scale it proportionally, there may still be imperfections at a certain resolution. You can make some optimizations based on the current screen size instead of all proportional processing.

I now use hand-written code for automatic layout, and basically abandon adding constraints in storyboards.

Recommend the third-party automatic layout framework pureLayout

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template