Questions tagged [uivisualeffectview]

A UIVisualEffectView object gives you an easy way implement some complex visual effects. A question related with visual effect for UIView can be tagged with [tag:UIVisualEffectView].It is Available in iOS 8.0 and later .

Related to the new UIVisualEffectView.

A UIVisualEffectView object gives you an easy way implement some complex visual effects. Depending on the desired effect, the effect may affect content layered behind the view or content added to the visual effect view’s contentView.

https://developer.apple.com/library/ios/documentation/uikit/reference/UIVisualEffectView/index.html

217 questions
5
votes
1 answer

System blur style before iOS 13.0 warning when using material style in storyboard

I'm trying to adapt my app to iOS 13 dark mode, and when I set a UIVisualEffectView's blur to any of the new modes (like material) in Storyboard I get the warning: System blur style before iOS 13.0 I understand that, as well as I can use version…
danqing
  • 3,348
  • 2
  • 27
  • 43
5
votes
2 answers

UIAlertController Action Sheet without Blurry View Effect

I'm using UIAlertController for some actions. But I'm not a big fan of the Blurry View Effect in the actions group view (see screenshot below). I'm trying to remove this blurry effect. I made some research online, and I couldn't find any API in…
manonthemoon
  • 2,611
  • 8
  • 26
  • 40
5
votes
2 answers

UIVisualEffectView not working

I'm trying to add a blur effect to my view using the following code : let visualEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .Light)) as UIVisualEffectView visualEffectView.frame = containerView.bounds …
Alk
  • 5,215
  • 8
  • 47
  • 116
5
votes
0 answers

UIVisualEffectView in a UITableViewCell breaks when deleting a cell

I have created a UITableViewController and each cell has a blur effect applied to them using UIVisualEffectView. I also have a blurred background that is created in the UITabBarViewController that the table view is linked to. The extra blur effect…
Camon
  • 1,003
  • 1
  • 10
  • 22
5
votes
0 answers

Is there a way of setting the UIBlurEffect black and white in Swift?

I have a view called componentsView that overlays mkmapview. I thought it would be cool to have this view transparent with a blur effect. So in my viewDidLoad method I typed: let blur = UIBlurEffect(style: UIBlurEffectStyle.Light) let blurView =…
user3766930
  • 5,629
  • 10
  • 51
  • 104
5
votes
0 answers

What is the blur effect 3D Touch Peek uses? (Simulating it gives a different one)

I am simulating 3D Touch Peek using UILongPressGestureRecognizer in case the device do not support 3D Touch. Everything is going fine so far. However, when I add the popup, the blur effect is quite different from the one with the real 3D Touch. Here…
rgoncalv
  • 5,825
  • 6
  • 34
  • 61
5
votes
2 answers

UIBlurEffect not blurring on device but works in simulator

I'm trying to make a UIView with a UIVisualEffectView subview with a UIBlurEffect as the effect. The view is created off the side of the screen and then is slid in using an animation. Everything works just fine on the simulator (I've tested on an…
Andy Heard
  • 1,715
  • 1
  • 15
  • 25
5
votes
1 answer

Class Unavailable UIVisualEffectView prior to iOS8

I realize that I can add UIVisualEffects programmatically, conditionally executed if the class exists, eg. if([UIVisualEffectView class]){ UIBlurEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]; …
4
votes
1 answer

Creating a blurView with a clear cut out

I am creating an overlay of blurredView with a clear rectangle cutout in the middle. My code so far has achieved the opposite, ie a clearView with a blur cutout in the middle instead. I have adapted my steps from the following posts, I appreciate if…
Koh
  • 2,687
  • 1
  • 22
  • 62
4
votes
1 answer

How to make a blur effect like the background like 3D touch

I need make a blur effect of my custom view, and just look like the same with 3D touch. PS: I didn't find the UIVisualEffectView support this effect.Our system only support three UIBlurEffectStyle,which are not the same with 3D touch. this image is…
boog
  • 1,813
  • 3
  • 18
  • 21
4
votes
4 answers

How to "tint" UIVisualEffectView on iOS 8+? Or, create a blurred background view with a tint color?

Self-explanatory. UIVisualEffectView only has a light, dark, and "extra light" tint variation. Is there a way to tint with a color instead, such as the tint color of the app? UINavigationBar sort of does this, I think, in that it has transparency…
Ben Guild
  • 4,881
  • 7
  • 34
  • 60
4
votes
2 answers

use UIVisualEffectView to create a blur view, correct on simulator but not on iphone & ipad

The goal: create a blur view in app. The code I use: func createBlurBackgroundView() { if !UIAccessibilityIsReduceTransparencyEnabled() { if blurredSubView == nil || blurredSubView.superview == nil { …
Valar Morghulis
  • 647
  • 5
  • 16
4
votes
4 answers

iOS 8 UIVisualEffect View with UIBlurEffect becomes opaque

I am trying to present a view with a blurred transparent background over an existing view. I am able to get the desired effect during the presentation animation, but once the blurred view is fully presented, it becomes opaque. Here's how I am…
BBruce
  • 265
  • 6
  • 15
3
votes
1 answer

How to create an UIWindow with Vibrant background in MacCatalyst?

We can create this effect easily with NSWindow and NSVisualEffectView in native mac app but how can we do it in app that was built for MacCatalyst? of course setting alpha = 0 for UIWindow and add an UIVisualEffectView on it won't do the trick,…
Clouds
  • 399
  • 1
  • 12
3
votes
1 answer

Remove VisualEffectView from subview

I defined a VisualEffectView by using a boolean condition. In this case, when a button is pressed this function is called with active: true func addVisualEffectView(active: Bool) { let blurEffect = UIBlurEffect(style: .dark) let…
Rouzbeh
  • 39
  • 5
1 2
3
14 15