我们如何将 UILabel 移动到新的点,就像 powerpoint 的转换一样?

How can we move a UILabel to the new point, like the transitions of powerpoint?

当我们使用这个时:

Do.frame =  CGRect (x:new x, y: new y, width: new width, height: new height)

它跳转到新的点。我想要一些动画。

  UIView.animate(withDuration: 0.3, animations: { 
      Do.frame =  CGRect (x:new x, y: new y, width: new width, height: new height)
  })

当然,我不认为编译,但你明白了。