Calculating Aspect Ratio for all sizes of iphone

前端 未结 1 1318
鱼传尺愫
鱼传尺愫 2021-01-23 03:13

I know this types question has been asked several times but i am newer to iphone so confused with all answers.As my logo is 61*57 and i want to change according to size of iphon

相关标签:
1条回答
  • 2021-01-23 03:25

    So first You give X , Y and aspect ration to the icon

    Then you give your icon's heigh equal to superview's height

    Then you divide your current icon's height by superview's height that you just gave

    the you write that divided answer in Equal height to: Superview's Multiplier:

    And its done

    0 讨论(0)
提交回复
热议问题