Animating Frame of UILabel smoothly

前端 未结 5 1691
我寻月下人不归
我寻月下人不归 2020-12-06 12:23

I\'ve been trying to figure out a decent way to smoothly animate a frame size change on a UILabel, without a weird starting jump redraw. What happens by default is that when

5条回答
  •  攒了一身酷
    2020-12-06 12:37

    Just turn off auto-layout for your label.

    In Xcode, click on the label and then in the properties pane, un-check the auto-layout option

提交回复
热议问题