changing property contentsGravity in transform-only layer, will have no effect

前端 未结 4 998
北恋
北恋 2020-12-23 13:10

I started to create a very simple tic-tac-toe game. The main goal is to make the view proportional to all screen sizes of all iOS devices. So I put the image on a View

4条回答
  •  误落风尘
    2020-12-23 13:59

    It could happen because you changed the Mode attribute of the StackView:

    I got this warning when I set Mode to Aspect Fit.

提交回复
热议问题