Steven 1 년 전
부모
커밋
80d4610f94
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      KulexiuForTeacher/KulexiuForTeacher/Common/LoadingManager/KSHudLoagingManager.m

+ 5 - 1
KulexiuForTeacher/KulexiuForTeacher/Common/LoadingManager/KSHudLoagingManager.m

@@ -47,7 +47,11 @@
 }
 
 - (void)removeCustomLoading {
-    [self.loadingView hideLoadingView];
+    dispatch_main_async_safe(^{
+        if (self->_loadingView) {
+            [self.loadingView hideLoadingView];
+        }
+    });
 }