I am loading a image using SDWebimage on the top of the image i am using the Blur effect using this code.
self.blurView.blurRadius = 4.95;
self.blurView.dynamic = YES;
self.blurView.contentMode = UIViewContentModeRight;
self.blurView.layer.contentsGravity = kCAGravityBottomLeft;
[self.blurView setClipsToBounds:YES];
[self.blurView updateAsynchronously:YES completion:^{
//Whatever you want
}];
when the image loading fastly the blur effect is working fine it look like this
when images loading little late the blur effect shows like this
.
how to get the same blur effect while the images are loading lately.
Hi,
I am loading a image using SDWebimage on the top of the image i am using the Blur effect using this code. self.blurView.blurRadius = 4.95; self.blurView.dynamic = YES; self.blurView.contentMode = UIViewContentModeRight; self.blurView.layer.contentsGravity = kCAGravityBottomLeft; [self.blurView setClipsToBounds:YES]; [self.blurView updateAsynchronously:YES completion:^{ //Whatever you want }]; when the image loading fastly the blur effect is working fine it look like this
when images loading little late the blur effect shows like this
.
how to get the same blur effect while the images are loading lately.
Please give suggestions.