uiblureffect

Blur UIImage to achieve effect like passcode blur of the wallpaper with swift

I want to achieve the effect that passcode view have (the wallpaper picture is blurred and darker) This give me a black screen func blurWithCoreImage(){ var inputImage = CIImage(image: UIImage(named: "wallpaper")); // Apply gaussian blur filter with radius of 30 var gaussianBlurFilter = CIFilter...

How to add UIVibrancyEffect to an existing UILabel ( IBOutlet )?

I have a working ViewController with working UIBlurEffect. Here is my code: @IBOutlet weak var nameLabel: UILabel! override func viewDidLoad() { super.viewDidLoad() let blurEffect = UIBlurEffect(style: .Light) let blurView = UIVisualEffectView(effect: blurEffect) blurView.frame = self.view.frame...

How to implement Visual Effect Views in Interface Builder?

How do you use Visual Effect Views with Blur and Vibrancy in Interface Builder? I've dragged this item out into the View, then dragged a UILabel onto the last view in the hierarchy - the vibrant effect's contentView I assume. This results in a blurred view overtop but there is no label visible....

Achieve a Uniform UIBlurEffect in the Primary View of a UISplitView

I'm using a stock UISplitViewController with out-of-the-box Master and Detail view controllers. In a storyboard, I've added a UIImageView to the Detail controller set to effectively fill the view with a single image. In the Master controller, I've used the following to blur the background of that...

Detect if device properly displays UIVisualEffectView?

My app utilizes UIVisualEffectView to blur the background just like Control Center. But I discovered the iPad 2 (and Retina iPad) which can run iOS 8 isn't powerful enough to display that effect so it reverts to a gray color. I would like to be able to detect if the device the app is running on is...

How to fade a UIVisualEffectView and/or UIBlurEffect in and out?

I want to fade a UIVisualEffectsView with a UIBlurEffect in and out: var blurEffectView = UIVisualEffectView() blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .dark)) I use a normal animation within a function called by a UIButton to fade it in, same for fading out but .alpha = 0 &...