我们正在尝试在两个几乎完全相同的图像(几乎是动画帧)之间进行溶解,但到目前为止,我们无法消除在溶解过程中发生的变暗。客户非常坚定地认为没有这种更深的溶解,有什么想法吗?
UIImageView *newImageView = [[UIImageView alloc] initWithFrame:imageViewSmileDesign.frame];
newImageView.image = imageViewSmileDesign.image;
[self.view addSubview:newImageView];
imageViewSmileDesign.image = [UIImage imageNamed:[NSString stringWithFormat:@"%@.jpg", result]];
imageViewSmileDesign.alpha = 0;
[UIView animateWithDuration:0.5 animations:^{
imageViewSmileDesign.alpha = 1;
newImageView.alpha = 0;
} completion:^(BOOL finished) {
[newImageView removeFromSuperview];
} ];
感谢您的关注。