Narendra Pandey
Narendra Pandey

Reputation: 377

Calculating Aspect Ratio for all sizes of iphone

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 iphone. but when i specify it's aspect ratio for all screen it gives their own ratio. But I am confused how this ratio has been calculated. for 5.5 inch they have recommende 17:184 for 4.7 61:667 4 inch 61:568 and for 3.5 inches 61:480.

Upvotes: 2

Views: 2032

Answers (1)

Rahul Patel
Rahul Patel

Reputation: 1832

So first You give X , Y and aspect ration to the icon enter image description here

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

enter image description here

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

enter image description here

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

enter image description here

And its done

enter image description here

Upvotes: 7

Related Questions