模糊效果在iOS 7.1上消失 [英] Blurring effect disappeared on iOS 7.1

查看:112
本文介绍了模糊效果在iOS 7.1上消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于某种原因,我在iOS 7.1上的应用程序消除了模糊效果。我在iOS 7.0.x的设备上运行相同的代码,在7.1的另一台设备上运行相同的代码。以下是我看到的内容:

For some reason the blur effect is gone from my app on iOS 7.1. I'm running the same code on a device with iOS 7.0.x and on another with 7.1. Here's what I see:

iOS 7.0.x

iOS 7.1

可能是什么问题以及如何解决这个问题? (显然我想保持模糊效果:))

What can be the issue and how to fix this? (obviously I want to keep the blur effect :))

更新:

这是我设定的颜色:

    [UIColor colorWithRed:255.0f/255.0f
                       green:201.0f/255.0f
                        blue:0.0f/255.0f
                       alpha:1.0];

我从 barTintColor 属性设置它

推荐答案

顺便说一句,值得注意的是,你所描述的没有模糊/半透明的图像确实存在。如果您拍摄快照并提高对比度,您可以看到背景中确实存在某些事情。这是你原来的没有模糊/半透明的图像,我在Photoshop中提高了对比度:

By the way, it's worth noting that the image that you describe as having no blurring/translucency actually does. If you take that snapshot and pump up the contrast, you can see that there actually is something going on in the background. Here is your original "no blurring/translucency image", which I bumped up contrast in Photoshop:

肉眼几乎看不见,除非你操纵图像,但模糊/半透明实际上是存在的。

It's barely visible to the naked eye unless you manipulate the image, but the blurring/translucency is actually there.

这篇关于模糊效果在iOS 7.1上消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆