We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 683e8b8 commit 6219374Copy full SHA for 6219374
Coding_iOS/Vendor/MJPhotoBrowser/MJPhotoLoadingView.m
@@ -62,7 +62,7 @@ - (void)setProgress:(float)progress
62
_progress = progress;
63
_progressView.progress = progress;
64
if (progress >= 1.0) {
65
- [_progressView removeFromSuperview];
+ [_progressView performSelectorOnMainThread:@selector(removeFromSuperview) withObject:nil waitUntilDone:YES];
66
}
67
68
@end
0 commit comments