I have an UIImageView
which contains an image. Now i need to blur the image by 4% and change the darkness by 30% of the image, on certain button click, and Un blur it as well.
How can I achieve this ?
Asked
Active
Viewed 39 times
0

MainakChoudhury
- 502
- 1
- 7
- 23
-
how do I get rid of this effect again programmatically ? – MainakChoudhury Dec 30 '15 at 19:33
-
1There are many options. You can add custom blurr view to the imageview and remove it when u need. – Teja Nandamuri Dec 30 '15 at 19:37
-
You can use a single "UIVisualEffectView" object with a blur effect and place it over the UIImageView with same frame as UIImageView. Hide and Show it on button tap. – Haripal Wagh Dec 31 '15 at 05:26