Hallo.
Ich habe folgende Objektmethode für einen Blurr Effekt geschrieben
Wie kann ich daraus einen live Blurr Effekt machen d.h. das durchgehend ein Snapshot gemacht wird und der Blurr Effekt eingefügt wird?

Danke für eure Hilfe!

[FONT=Menlo]- (void)applyBlurredBackgroundToView:(UIImageView *)imageView sourceBlurView:(UIView *)backgroundView rectCornerRadius:(CGFloat )rectCornerRadius {[/FONT]
[FONT=Menlo] [/FONT]
[FONT=Menlo] imageView.image =nil;[/FONT]
[FONT=Menlo] [/FONT]
[FONT=Menlo] CGRect imageViewInBGViewCoords = [imageView convertRect:imageView.bounds toView:backgroundView];[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]UIGraphicsBeginImageContextWithOptions(imageView.frame.size, YES, [[[[selfview] window] screen] scale]);[/FONT]
[FONT=Menlo] [/FONT]
[FONT=Menlo] [backgroundView drawViewHierarchyInRect:CGRectMake(-imageViewInBGViewCoords.origin.x, -imageViewInBGViewCoords.origin.y, CGRectGetWidth(backgroundView.frame), CGRectGetHeight(backgroundView.frame)) afterScreenUpdates:YES];[/FONT]
[FONT=Menlo] [/FONT]
[FONT=Menlo]UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();[/FONT]
[FONT=Menlo] [/FONT]
[FONT=Menlo]UIGraphicsEndImageContext();[/FONT]
[FONT=Menlo] [/FONT]
[FONT=Menlo] newImage = [newImage applyDarkEffect];[/FONT]
[FONT=Menlo] [imageView setImage:newImage];[/FONT]
[FONT=Menlo] [/FONT]
[FONT=Menlo] imageView.layer.mask.frame = imageView.bounds;[/FONT]
[FONT=Menlo] imageView.layer.cornerRadius = rectCornerRadius;[/FONT]
[FONT=Menlo] imageView.layer.masksToBounds = YES;[/FONT]
[FONT=Menlo]}
[/FONT]