ios - How to specify different sizes for iPhone 6+, 6 and 5? -


I want to make the scene almost identical in every iPhone 6+, 6 and 5 In the attached diagram, for example, for example, the "Cancel" button should be in the iPhone 5 with 30 pixels from the left edge of the screen, 35 pixels in 6 and 45 pixels for 6+ and other elements.

How specific types of shapes should be kept for each type? If I use proportion in the constraints, the buttons increase, but their sizes are not controlled and I can also change the spaces between the elements that I can change. I can not even use the size with sections of the size of the specific restrictions, because this is the same for CW AH 5 and 6 iPhone (as I thought it was).

I can not understand how to do this. How are the different designs generally managed for 6 and 6+?

Enter image details here

< Div class = "post-text" itemprop = "text">

Why do you need to take 30, 35 and 45 px? Is there any reason for that pixel placement?


You can use more flexible barriers by using their multiplied value rather than constant.

- iPhone 4 Landscape Ban Demo

Note that my Center X alignment deficiency are configured:

image here Enter details


You can see that the value is Gibb behaves like this, sometimes there is a multiplier> 1, sometimes it is between 1 and 2, or & lt; Based on the order of 1 first item and second item . You can still swap by clicking their order and select reverse first and second item .


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -