Used to blur UIImage
- Normal Image
- Half-Blured Image
// get Image
UIImage *image = [UIImage imageNamed:@"people"];
// init UIImageView
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
imageView.center = self.view.center;
[self.view addSubview:imageView];
// blur Image at specified frame
imageView.image = [image blurImageAtFrame:CGRectMake(0, 0, image.size.width, image.size.height / 2.f)];
- Blured Image
// get Image
UIImage *image = [UIImage imageNamed:@"people"];
// init UIImageView
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
imageView.center = self.view.center;
[self.view addSubview:imageView];
// blur Image
imageView.image = [image blurImage];