Difference between UIViewContentModeScaleAspectFit and UIViewContentModeScaleToFill?

You can see the differences between the content modes here:

enter image description here

Redraw mode works as Scale to Fill mode.
But there is a difference in how they are drawn when view geometry changes.
Scale to Fill mode uses already rendered content while Redraw mode renders the content again.

Leave a Comment