G
G
Gotseva2015-05-22 22:10:34
Mobile development
Gotseva, 2015-05-22 22:10:34

Why does the image look different on Apple and Android?

We are developing an application. On the main page of the globe. On Apple, the globe looks flat, but on Android it stretches in length. Is it possible to make on all smartphones, Android and Apple, an equally flat globe?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
daspisch, 2015-06-12
@daspisch

Change the way you view images, for iOS to proportionally resize the image, you must install ContentMode in UIViewContentModeScaleAspectFit or if there is no need to scale the image to the position of tie: UIViewContentModeCenter, UIViewContentModeTop, UIViewContentModeBottom, UIViewContentModeLeft , UIViewContentModeRight, UIViewContentModeTopLeft, UIViewContentModeTopRight, UIViewContentModeBottomLeft, UIViewContentModeBottomRight.
In Android, you need to change ImageView.ScaleType to CENTER_INSIDE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question