UIVisualEffect 视图的值不应小于 1,这会干扰 iOS 中的模糊

UIVisualEffect view Should not have value less than 1, this interferes with blurring in iOS

在我的一个 iOS 应用程序中,我使用 iOS 本机组件 VisualEffectView with Blur 来获取模糊效果。

为了我的用户界面要求,我将视觉效果视图的 alpha 值设置为 0.85,然后 Xcode 抛出编译时警告说 UIVisualEffect view Should not have value less than 1, this干扰模糊。我如何在不将我的 alpha 值设置为 1 的情况下绕过此警告。

我正在使用 Xcode 8.3.1.

Apple Documentation状态:

When using the UIVisualEffectView class, avoid alpha values that are less than 1