1.之前写过,没记下来。
2.好像是一个CoreAnnimation的方法,是Block,有时间参数,然后在这个时间内执行操作,本来很快的操作会变缓慢。
3.我现在播放器就要做 : 点击视频,周边的控件缓慢的出现。而不是现在的干巴巴的出现消失,很突兀。效果要跟优酷一样。
[UIView animateWithDuration:<#(NSTimeInterval)#> animations:<#^(void)animations#>]
楼主说的是UIView的动画吗,经常用的是这个,还有个带动画结束的block
[UIView animateWithDuration:<#(NSTimeInterval)#> animations:<#^(void)animations#> completion:<#^(BOOL finished)completion#>]
速度缓慢是因为动画时间比较长