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 remove blur view for particular cell?

I am using UITabBarController & UITableView My goal is to remove blur view for particular cell. Yes there is a way to add/remove UIBlurEffectto all the cell & bottom-Tabbbar But of-course don't want this at all . For reference i am attaching…
Ramesh
  • 147
  • 1
  • 17
0
votes
2 answers

Blur cell image on cell button click in UITableView

In table view cell i have an image and a button now i want to blur the image on the click of button I have the following code :- func blurEffect(){ let blur = UIBlurEffect(style: UIBlurEffectStyle.light) let blurView =…
piyush ranjan
  • 391
  • 4
  • 15
0
votes
1 answer

swift cancel blur effect slowly

I'm trying to unblur my image slowly, i blurred it with this code let blur = UIBlurEffect(style: UIBlurEffectStyle.light) let blurView = UIVisualEffectView(effect: blur) blurView.frame = imageview.bounds …
0
votes
0 answers

iOS - cell appear before blur effect is applied

I working with UICollectionView, and I need add cell dynamically. all cells has blured background view. When I add item using [self.collectionView insertItemsAtIndexPaths:indexPaths]; I have a trouble with animation cell appear. I see cells content…
Peter
  • 55
  • 1
  • 6
0
votes
1 answer

How to remove the white outer glow given by UIBlurEffect

I wanted to present a UIViewController with blur background. I used the following code in ViewDidLoad() self.view.backgroundColor = UIColor.clear let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.dark) let vibrancyEffect =…
Manju Basha
  • 665
  • 1
  • 9
  • 29
0
votes
1 answer

Blur effect stopped working in iOS 11

I used the following code to create a blur effect and it worked fine on iOS 10, but it stopped working on iOS 11.I am not able to view the blur when app moves to background.When the app comes to foreground, some times,the blur stays alwaysand the…
Ram
  • 1,872
  • 5
  • 31
  • 54
0
votes
0 answers

How to make a UIImage be a blur effect view?

Ok, Im working in Swift here and there are a lot of answers like this How to use UIVisualEffectView? that talk about how to apply a UIVisualEffectView OVER an image, so that it blurs it like a background. My problem is I need to have my image, or…
blue
  • 7,175
  • 16
  • 81
  • 179
0
votes
2 answers

Show BlurEffect on manual segue

I have a question regarding blureffects on a view controller. I program all of my segues manually for several reasons. But when I go to a viewcontroller that has a blureffect background, I only see a dark gray background. How can I solve this that…
vandernat.p
  • 153
  • 1
  • 1
  • 10
0
votes
1 answer

UIVisualEffectView not setting to nil

I have a UIVisualEffectView that I am trying to set to nil upon viewdidload What am I doing wrong? @IBOutlet var popUpView: UIView! @IBOutlet weak var visualEffectView: UIVisualEffectView! var effect: UIVisualEffect! @IBOutlet weak var…
Cameron
  • 185
  • 2
  • 11
0
votes
2 answers

Not able to get blur effect

I'm using UIVisual Effect view in storyBorad. I just set four constraints(top, bottom, left, right) to that view. but it looks some black colour view behind. source code: import UIKit class SignOutViewController: UIViewController { @IBOutlet…
0
votes
0 answers

Swift - Blurred vibrant background view (like the notification center over the home screen)

I'm writing an iOS 10 app. I have a view (let's call it overlayView) that overlays another view (let's call it backgroundView). backgroundView has some color in it. I can easily get the overlayView to blur the backgroundView, but that ends up making…
Ethan G
  • 1,353
  • 2
  • 15
  • 31
0
votes
1 answer

Creating a blur effect on a full UITableView in Swift

I have the following code: if !UIAccessibilityIsReduceTransparencyEnabled() { view.backgroundColor = UIColor(patternImage: UIImage(named: "sunset-photo.jpg")!); let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.light); …
cdub
  • 24,555
  • 57
  • 174
  • 303
0
votes
0 answers

UIVisuaEffect when pushed into NavigationController loses its blurEffect

let layer = CAShapeLayer() let path = UIBezierPath(rect: self.view.bounds) let frameview = UIView(frame: CGRect(x:60,y:120,width:200,height:200)) frameview.layer.borderColor = UIColor.red.cgColor frameview.layer.borderWidth = 2 let tpath =…
0
votes
1 answer

How to create AppleTV buttons?

At first glance they look like regular UIButtons however they got a label below it. Also the background of the button seems to be a blurred effect. So my thoughts are that they are put in a CollectionView (Horizontal). With each cell containing a…
Mark
  • 16,906
  • 20
  • 84
  • 117
0
votes
1 answer

Setting a UIImageView to an initial state of blurred

I'm attempting to initially blur a background image on a UIViewController. When an @IBAction is called, I'd like to unblur backgroundImage. I can get the image to initially blur, but I can't get rid of the blur if I initially blur it. However, if I…
Adrian
  • 16,233
  • 18
  • 112
  • 180