We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://h1z3y3.me/posts/uiimageview-image-fade-out/
实现原理十分简单,使用UIImageView的透明度即可。然后在动画中完成。 alpha = 1 为全透明。 运行图例: 实现代码: //图片渐隐渐现 self.backgroundView.alpha = 0.7; [UIView animateWithDuration:0.5 animations:^{ self.backgroundView.alpha = 1; self.backgroundView.image = [UIImage imageNamed:@"weather_bg_02.jpg"]; }]; 后来我知道了可以用更好的方法实现, 后续会有更……
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://h1z3y3.me/posts/uiimageview-image-fade-out/
实现原理十分简单,使用UIImageView的透明度即可。然后在动画中完成。 alpha = 1 为全透明。 运行图例: 实现代码: //图片渐隐渐现 self.backgroundView.alpha = 0.7; [UIView animateWithDuration:0.5 animations:^{ self.backgroundView.alpha = 1; self.backgroundView.image = [UIImage imageNamed:@"weather_bg_02.jpg"]; }]; 后来我知道了可以用更好的方法实现, 后续会有更……
The text was updated successfully, but these errors were encountered: