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
3
votes
0 answers

How to add backdrop/blur effect with SVG in react native?

I have following UI requirement in react native. I have tried to make the red box portion as it is. However could not find the optimal solution. I have tried with .svg image however, blur effect using feGaussianBlur is not achievable in react…
ketaki Damale
  • 634
  • 7
  • 25
3
votes
1 answer

UITableView blurred overlay

In my project I want to achieve a blurred background in a UITableView. So far I already set up the overlay like this: let blurEffect = UIBlurEffect(style: .dark) let blurEffectView = UIVisualEffectView(effect: blurEffect) blurEffectView.frame =…
Marlon
  • 57
  • 4
3
votes
0 answers

UIBlurEffect blur set color

I want to place a blur effect on top of a view with gradient. When I do so using the UIVisualEffectView combined with the UIBlurEffect light, I get the following result: As you can see, the navigation bar is very bright. I'd like it to not be…
LinusGeffarth
  • 27,197
  • 29
  • 120
  • 174
3
votes
5 answers

How to make a Navigation Bar and Status Bar blurred (UIBlurEffect)? iOS, Swift 3

How to make the Navigation Bar and Status Bar blurred (UIBlurEffect)? When I'm by clicking on the image to scroll down (Scroll View) to other pictures, this picture (in this case with a white machine) is simply lost under the Navigation Bar, and it…
Shamil
  • 45
  • 1
  • 2
  • 7
3
votes
1 answer

UIVisualEffectView creates a grey box instead of blurring

I'm using a UIVisualEffectView to blur a section of the screen in SpriteKit like so: let blur:UIBlurEffect = UIBlurEffect(style: UIBlurEffectStyle.Dark) let UIEffectView:UIVisualEffectView = UIVisualEffectView(effect: blur) UIEffectView.frame =…
user5669940
3
votes
1 answer

Interactive blurring of UIImage and UIView like iOS 8 spotlight

iOS 8 introduces some pretty snazzy interactive blurring. Most notably, there's the interactive blur when you pull down for spotlight, but there's also the animation when opening and closing Siri (though that's not interactive). I've only noticed…
brandonscript
  • 68,675
  • 32
  • 163
  • 220
2
votes
0 answers

How do I make a SwiftUI macOS App background blurred and transparent?

There are many apps which show a blurred background with the below windows' colors showing through. Here's an example: How could I recreate this in SwiftUI 2.0 with a SwiftUI App Life-cycle? I know in a UIKit Life-cycle you can modify the window's…
Ben216k
  • 567
  • 4
  • 7
2
votes
0 answers

How can I do a navigation-drawer with frosted glass effect in vuetify?

I would like to achieve the effect of the deepin operating system control bar. I have dealt with some css codes that I have found online but none works for me on the drawer, if it works on v-cards but not on navigation-drawer. this is example…
2
votes
1 answer

UIViewController blur background turns into gray

I would like to use blur background for my view controller but as soon as the view is loaded, the whole thing turns into gray. I present the view controller by performing a segue from another view, and in the viewDidLoad() method of the view…
fnisi
  • 1,181
  • 1
  • 14
  • 24
2
votes
2 answers

Blur UILabel in Swift

How can I blur the text of UILabel? UIBlurEffectView is not blurring the text but whole background. Can you please let me know how can I achieve this? Thank you,
nirav
  • 573
  • 5
  • 20
2
votes
1 answer

How to blur background in Android like Samsung Air Command?

I created a floating button outside my app. Now I want to blur the background when users click on it just like "Samsung Air Command" so it blurs all that is in background. There are lots of codes about blur effect, but that blur effect works only on…
shahid
  • 31
  • 4
2
votes
4 answers

How to reduce blur effect on UIVisualEffectView

How can i reduce the blur effect on a UIVisualEffectView it gives me options of light, extraLight and dark which are not good enough for me i am trying to achieve something like this
Sagaya Abdul
  • 151
  • 1
  • 11
2
votes
3 answers

How can I clip a blur UIVisualEffectView with a PNG mask?

I have a blurred UIVisualEffectView and would like to mask it with a PNG UIImage. I have this code for now, but if I apply the mask, the view doesn't apply the blur effect anymore. let maskLayer = CAShapeLayer() maskLayer.contents = UIImage(named:…
hornobster
  • 717
  • 1
  • 7
  • 18
2
votes
5 answers

Swift blur effect is not dismissed when returning to main view

I want to show a subview, which is transperrent, therefore blur the main view controller. This works fine, but when returning to the main view controller, the blur stays - and it doesn't go to any section in the main view, like view did appear or…
Alexander Ko
  • 195
  • 18
2
votes
2 answers

blurred background in swift with clear subview

i want a blurred background. i have a subview for the main view . and i want the subview to not be affected by blur. What should i do? Code: let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.dark) let blurEffectView =…
Savitha Suresh
  • 321
  • 4
  • 12
1 2
3
13 14