Blur effect is not working properly when image loading lately.
ajay2c9 opened this issue · comments
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.
I just Encountered the same issue, also the circumstances when called scrollview scrollsToTop