(I am using Swift with iOS 8)
I am adding a (Sub)View to a UiViewController. This subview should hold a few UiLabels with some information in it. I want the subview to have a blurred background like the notification center of iOS has.
I know this is possible using UIEffectView, but how could I assign such a blurred effect using the storyboard? I actually don't want to create my views programmatically.
Thanks
In order for UIVisualEffectView to actually blur the content, its superview must be transparent. To make it transparent, change the background color of view to clear . Create a UIBlurEffect with a UIBlurEffect. Style.
To change an image, select a blur filter from the bar button item's menu of choices in the top right of the sample's navigation bar.
Yes this is possible in Xcode 6. Just search for "Visual Effect View with Blur" in the object library (bottom right). These can be added to your view controllers like any other view. You can also change the blur style in the attributes inspector (light, dark, extra light).
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With