Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamicBlurView as subview of modal presented View Controller appear like view with black background #20

Closed
grishamsc opened this issue Nov 28, 2016 · 8 comments

Comments

@grishamsc
Copy link

At UIViewController i add DynamicBlurView as subview. After that i present that View Controller modaly and DynamicBlurView looks like just black view.

`
class BlurViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .clear

let blur = DynamicBlurView(frame: CGRect(x: 20, y: 20, width: 300, height: 300))
view.addSubview(blur)
blur.blurRadius = 10
blur.dynamicMode = .common

}
`
screen shot 2016-11-28 at 18 23 31

@KyoheiG3
Copy link
Owner

DynamicBlurView can capture view in superview subviews only. if presented ViewController modaly that superview not has subviews.

@sssbohdan
Copy link

@grishamsc Hi, have you fixed this problem?

@pmusolino
Copy link

Actually, if you test the library with >iOS 10 it's not working.

@KyoheiG3
Copy link
Owner

@grishamsc @sssbohdan @codeido Hi guys.
I'm improving this issue in #23 and supporting swift4.
But, It isn't supported for ios7. Also, it couldn't be completely synchronized with presenting the animation of modal.

Wait for swift4 release or clone this branch and then try it.
Thank you.

@KyoheiG3
Copy link
Owner

2.0.0 was released.

@ghost
Copy link

ghost commented Nov 12, 2017

I look like the issue still exist. without the dynamic blur i get a clearscreen after i add the blurview i get all black screen without the blur

@KyoheiG3
Copy link
Owner

Did you set true to isDeepRendering ?

@scm573
Copy link

scm573 commented Mar 30, 2018

Yeah I had the same question and set isDeepRendering to true solved that.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants