Gradient partially not working
Opened this issue · 1 comments
LinusGeffarth commented
I have a view with a gradient view inside, that looks like this:
However, I'm seeing this result only after opening the view controller twice.
When first opening the vc, I see this:
Any idea why this happens?
Also, is there any like redraw()
method or something, so that I could refresh the gradient manually after the view appeared?
Update
So it seems the issue occurs when embedding the EZYGradientView inside another view and setting the constraints to leading, trailing, top, and bottom equal to superview.*
.
I was able to resolve the issue by specifying a fixed with for the gradient view itself.
LinusGeffarth commented
@shashankpali any updates on this?