Questions tagged [uiblureffect]

A UIBlurEffect object applies a blurring effect to the content layered behind a UIVisualEffectView. t. This tag should be tagged issues related with blur effects in iOS. It is available in iOS 8.0 and later .

A UIBlurEffect object applies a blurring effect to the content layered behind a UIVisualEffectView. Views added to the contentView of a UIVisualEffectView are not affected by the blur effect.

This a declared in Apple's UIkit framework.

Source : UIBlurEffect class reference

Related SO questions:

Related tags:

206 questions
0
votes
1 answer

Remove BlurEffect before to use it with a button

I have a button, when I clicked it my background_image turns in blur effect. @IBAction func button_MainClicked2(_ sender: UIButton) { if button_MainCenter == button_viajes.center{ UIView.animate(withDuration: 0.6, animations: …
0
votes
3 answers

Blur effect not appearing in UITableViewCell

I'm trying to add a blur effect to my view. I created the blur effect like so let blurLabel: UIVisualEffectView = { let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.dark) let blurEffectView = UIVisualEffectView(effect: blurEffect) …
0
votes
1 answer

How can I create Visual effect to alert view similar to iOS default alerts?

I have created UIVisualEffectView and I like it much. But, I don't have any idea on how can I create iOS like alert view having blur effect. Here is the screenshot which explains what I need.
0
votes
1 answer

How do I dismiss the blureffect after the user pressed a alternativ in alertview?

This is the blureffect and the alert that showes up if the user wants to go back. i could not find anything that I understod so I hope that someone here could help me. Thanks in advice for your help! This is all the code please but the new code in. …
theswed
  • 39
  • 8
0
votes
0 answers

How to remove blur effect when presenting an alert controller

I present an alert view controller when a label is tapped . I wish to remove the blur effect when alert controller is present. Can anyone teach me how to do?
Vincia Tanqling
  • 57
  • 1
  • 11
0
votes
4 answers

I want my self.view content should be visible but blurred, propose best way

In storyBoard, I added separate UIView as First responder in view controller.Then I added that view as subview of self.view. But I want self.view should be blurred when subview is shown. How can i do this? I tried by applying let imageView =…
Narayana M
  • 15
  • 2
  • 10
0
votes
2 answers

Gradient effect on some portion of UIImageView

I have a requirements of adding gradient over some portion (only in left and right side ) of UIImageView. I know, this can be done by using CAGradientLayer(). But I am confused with properties locations and colors. Below is my code. It is adding…
Sundeep Saluja
  • 1,089
  • 2
  • 14
  • 36
0
votes
0 answers

Taking screenshot of UIView before updating

I have a UIView with a button which on tapping displays a dropDownList which fills half the screen. I'm taking a screenshot of the sameView(before tapping the button) and using it as a blur background. My problem is screenshot is taken after the…
gowtham
  • 73
  • 1
  • 11
0
votes
2 answers

Adding subview to a blurred view

if !UIAccessibilityIsReduceTransparencyEnabled() { self.blurOutletTop.backgroundColor = UIColor.clear let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.dark) let blurEffectView =…
user6820041
  • 1,213
  • 2
  • 13
  • 29
0
votes
0 answers

How are nested blurred backgrounds achieved?

I have encountered a problem. The app needs to achieve the effect show in the following figure; Blur with a nested blur. Please provide some advice, thank you very much.
ilyon
  • 233
  • 2
  • 13
0
votes
0 answers

Cut section out of UIBlurEffect

How can I remove a circular section from a UIBlurEffect. I have a full page blur and a image with circle buttons. I want to be able to cut out the section of the blur that covers a particular circle button.
0
votes
1 answer

Black or grey background under UIViewController with blur effect

I have several tabs in my application (UITabBarController), and in one of them I can show modal UIViewController with blur effect (over the current controller from tab). let bVC = BlurViewController() bVC.modalPresentationStyle =…
lithium
  • 1,272
  • 1
  • 14
  • 28
0
votes
2 answers

making uiview blur which contains a custom view which I want to remain unblured

I have 1custom UIView in my default view in viewcontroller.My need is that if a button is clicked my default main view goes to blur and custom view remains unchanged.And a button is clicked again the blured view returns to normal effect. I used the…
Mahin
  • 61
  • 10
0
votes
1 answer

iOS 10 - Blurred Background doesn't work anymore

Does anyone has problems with the UIBlurEffect on iOS10 ? For some Reason the background of my button etc just gets a bit transparent and doesn't blurr anymore.... let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.ExtraLight) …
0
votes
3 answers

How can I add blur with 2pt of radius in Swift?

I want to create something like that: I've tried this one: var blurEffect = UIBlurEffect(style: UIBlurEffectStyle.Dark) var blurEffectView = UIVisualEffectView(effect: blurEffect) blurEffectView.frame =…
Doe
  • 431
  • 1
  • 8
  • 16