What is the “Mode” property in Interface Builder which offers “Scale to fill”, “Aspect fit” etc.?

前端 未结 3 811
再見小時候
再見小時候 2020-12-23 20:11

I\'m wondering what the dropdown \"Mode\" is about? It contains \"Scale to fill\", \"Aspect fit\" and so on. I never had to change it so far, still I\'m curious what it can

3条回答
  •  旧巷少年郎
    2020-12-23 20:39

    http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/

    should give you the basic ideas very well.

提交回复
热议问题