《view programming guide for iOS 》之可以使用动画效果的属性

  • frame—Use this to animate position and size changes for the view.  ,框架,可以视图动态改变大小和位置

  • bounds—Use this to animate changes to the size of the view.      ,可以改变视图的大小

  • center—Use this to animate the position of the view.           ,可以改变视图的位置

  • transform—Use this to rotate or scale the view.             ,可以改变视图的比例和旋转

  • alpha—Use this to change the transparency of the view.    ,可以改变视图的透明度

  • backgroundColor—Use this to change the background color of the view.    ,可以改变视图的背景颜色

  • contentStretch—Use this to change how the view’s contents stretch.     ,可以拉伸视图的内容

原文地址:https://www.cnblogs.com/lelun/p/5640061.html