Reputation: 377
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
Reputation: 1832
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
Upvotes: 7