Search code examples
objective-cswiftxcodeuiimageviewuiblureffect

UIImageView focus effect


Does anybody know how to add focus effect to UIImageView so background will be a little bit blurred. Below is an example image

enter image description here

Image Source: http://cdn-media-2.lifehack.org/wp-content/files/2011/09/focus1.jpg


Solution

  • Hi i just developed one demo project using CLImageEditor in Objective-C. You can download my demo for your use from https://github.com/nitingohel/NGFocusView

    RunTime output is:

    enter image description here