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

How to get tableView content to scroll behind blur effect in swift iOS

I am trying to figure out how to have my tableView content scroll behind another view while having the table view bottom start point be above the other view. Basically trying to figure out how Apple does the same effect in there iMessage app where…
0
votes
1 answer

Swift add a transparent and blur view on top of another view

design is here: So the button stackview is having a blur & transparent view on top of another ImageView. How can I make this work? I've tried the blur effectview and visual effectview but all failed on fulfill this design. I also try to usign the…
o1xhack
  • 87
  • 9
0
votes
1 answer

UIBlurEffect and UIVibrancyEffect image doesn't show on a view controller's view

I came across an example on a book for learning iOS 13 programming. I put the program snippet in a view controller's view, but the image, a label with vibrancy effect on a blurred background, doesn't show on the controller's view. The expected image…
0
votes
1 answer

How to make UITabBar blurry, in Swift

I am trying to make UITabBar look blur. I am trying to make something like this in this image But my view now looks like this This is my view for tabbar I tried this code in UITabbarController - Code: class TabBarViewController: UITabBarController {…
iosDevSan
  • 65
  • 1
  • 13
0
votes
0 answers

How to animate a blur effect up until a certain intensity?

I'm trying to animate a blur effect up until a certain intensity. Doing so using the .animate method of UIView is trivial: let visualEffectView = UIVisualEffectView(effect: nil) UIView.animate(withDuration: 1) { visualEffectView.effect =…
0
votes
0 answers

SwiftUI Custom Shape filled with UIBlurEffect

I would like to make toolbar with my custom shape. I have been trying all day to fill my shape with UIBlurEffect. My shape code: struct CRectangle: Shape { func path(in rect: CGRect) -> Path { var path = Path() path.addArc(center: CGPoint(x:…
0
votes
1 answer

How to make a CAShapeLayer have a blur effect?

I have this CAShapeLayer that I want to have a blur effect. How would I be able to do that? EDIT I tried it this way but the blur view doesn't show. Anyone know why? Thanks! func createLayer(in rect: CGRect) -> CAShapeLayer{ let…
xcode22
  • 118
  • 1
  • 9
0
votes
1 answer

UIVisualEffectView won't disappear after effect = nil

I have a blur effect on my ViewController, but by calling blurView.effect = nil, the blur won't disappear, even though if i call print(blurView.effect) it prints out "nil". What can I do? @IBOutlet weak var blurView: UIVisualEffectView! var effect…
GDog
  • 117
  • 1
  • 8
0
votes
1 answer

Blur UiImageView at top and bottom of the frame

I am having an image at my view controller, while on top of the image view I am having some label but due to label text visibility I need to blur the top and bottom of the UIImageView ignorer to show the text clearly. I have attached the…
0
votes
0 answers

Getting a round blur halo around a square button in order to place over an image

I updated this with an image of what I am trying to achieve, its a blur on a image which adds a touch of shading and even white on white is visible. I am basically working on putting buttons of various kinds on top of images and welcome's any and…
Daniel Patriarca
  • 361
  • 3
  • 20
0
votes
3 answers

Masking a UIEffectView with intersecting UIBezierPath

I wanted to apply a UIEffectView with blur over a tableView but have circular UIImageView objects in each cell show through. I used a mask and adapted the solution from this answer to create a method that would iteratively cut out circles above each…
Chris
  • 4,009
  • 3
  • 21
  • 52
0
votes
1 answer

Uitextfield background color blurry?

I am trying to make the background color of a UItextfield blurry. When I try the code below, my app crashes when it runs. Has anyone tried this before and knows how to make a UITextfield blurry? let p = UITextField() let blurEffect =…
user11039288
0
votes
2 answers

Blur View Over CAGradient Layer is Gray

I am adding a UIVisualEffectView for a blur over on my view. the backgound of my view is a ca gradient layer and when I add the blur, it just goes gray. This is the fade view: let fadeView = UIVisualEffectView(effect: UIBlurEffect(style:…
0
votes
0 answers

Dynamically resize stackview with blur background

End Goal: To create a view similar to this. This is like a name tag. The red circle is the profile Image, The text(UILabel) is the name. Now, I have embedded them in a stackview which is put in a UIBlurview. I want a behavior where If the length…
Aakash Dave
  • 866
  • 1
  • 15
  • 30
0
votes
2 answers

Highlighting UIButton with blur background causes loss of transparency

I have a UIButton that I'm giving a blurred and darkened background. When I highlight it (press it but don't release on-button), however, it loses its transparency by what seems to be non-transparent layers being added. Here's a video of it; the…