Coder Social home page Coder Social logo

Black view about dynamicblurview HOT 14 CLOSED

kyoheig3 avatar kyoheig3 commented on May 30, 2024
Black view

from dynamicblurview.

Comments (14)

aatalyk avatar aatalyk commented on May 30, 2024 3

Does anyone found a solution for black view?

from dynamicblurview.

DiogoNeves avatar DiogoNeves commented on May 30, 2024

I just realised there's an extension specifically for images :)

from dynamicblurview.

royherma avatar royherma commented on May 30, 2024

getting this as well, for a view...any ideas?

from dynamicblurview.

DiogoNeves avatar DiogoNeves commented on May 30, 2024

I should have posted my solution.
For images there's a different method to call, here's my code

        if let image = self.bannerImage?.image {
            let blurredImage = image.blurredImage(5.0, iterations: 3, ratio: 2.0, blendColor: nil)
            self.bannerImage?.image = blurredImage
        }

from dynamicblurview.

royherma avatar royherma commented on May 30, 2024

Appreciate the prompt response, but I was just adding the dynamic blur to a custom UIView, and it was strictly black (as you mentioned in your issue). So not applying to a UIImage, but still getting the result that you described.

from dynamicblurview.

DiogoNeves avatar DiogoNeves commented on May 30, 2024

If the view has an image in it, even if you're not applying directly to the image, I think it could still cause issues. Is that the case? (Try removing any images from sub views to test)

from dynamicblurview.

orkenstein avatar orkenstein commented on May 30, 2024

@royherma this happens to me when adding on a view, whose view controller is presented modally. Did you find any solution?
@

from dynamicblurview.

DiogoNeves avatar DiogoNeves commented on May 30, 2024

@orkenstein not sure if that's the same problem. The solution I found is shown above
#10 (comment)

from dynamicblurview.

orkenstein avatar orkenstein commented on May 30, 2024

@DiogoNeves Thanks, my issue is not about images. Continue my research.

from dynamicblurview.

brod-ie avatar brod-ie commented on May 30, 2024

Why is this issue closed?

from dynamicblurview.

Tr736 avatar Tr736 commented on May 30, 2024

did you manage to solve this issue?

from dynamicblurview.

haemi avatar haemi commented on May 30, 2024

would be interested in this as well

from dynamicblurview.

RSickenberg avatar RSickenberg commented on May 30, 2024

Same issue here, with empty UIView

from dynamicblurview.

mohpor avatar mohpor commented on May 30, 2024

If anyone else is still having this issue:
#32 (comment)

from dynamicblurview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.