我正在为iOS 10更新我的一个小部件,并且在此过程中它的UIVisualEffectView样式自动更改为light 。 我还没有开始为iOS 10更新的其他小部件还有一个dark UIVisualEffectView风格。
如何访问我的小部件的UIVisualEffectView样式?
I'm working on updating one of my widgets for iOS 10 and in the process its UIVisualEffectView style automatically changed to light. My other widgets that I have not started updating for iOS 10 yet have a dark UIVisualEffectView style.
How can I access the UIVisualEffectView style for my widget?
最满意答案
在iOS 10中,您不应该使用任何视觉效果。 只需将小部件的主视图设为默认背景即可。 它会自动采用光模糊。 这就是应该看的样子。
In iOS 10, you are not supposed to use any visual effect. Just give your widget's main view the default background. It will automatically adopt the light blur. And that is the way it is supposed to look.
更多推荐
发布评论