我正在尝试为子视图的框架设置动画,但它不起作用:
[UIView animateWithDuration:0.5
animations:^{
NSLog(@"BIIIM %@", [_subView subviews]);
UIImageView *imageView1 = (UIImageView *)[self.view viewWithTag:(1)];{
imageView1.frame = CGRectMake(76.8 , -100, 33.4, 164);
imageView1.alpha = 0.5;
}
alpha 的动画工作得很好,但帧的动画不是......知道吗?谢谢!