
I am having an image at my view controller, while on top of the image view I am having some label but due to label text visibility I need to blur the top and bottom of the UIImageView ignorer to show the text clearly.
I have attached the screenshot for my design ignorer to get a clear cut idea.
Please referent the image for the right output.
Add this code to your
UIImageView.