Explorar el Código

1.修改iOS Apex Drivers取消ProgressHUD禁止用户交互。

Pen Li hace 7 años
padre
commit
69b1a51cc5
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Redant Drivers/Apex And Drivers/RAProgressHUD.m

+ 2 - 2
Redant Drivers/Apex And Drivers/RAProgressHUD.m

@@ -80,7 +80,7 @@ static const CGFloat HUDSIZE = 100.0f;
     hud.activityIndicator.frame = CGRectMake(20, 5, 60, 60);
     [hud addSubview:hud.activityIndicator];
     
-    hud.window.userInteractionEnabled = NO;
+//    hud.window.userInteractionEnabled = NO;
     
     return hud;
 }
@@ -109,7 +109,7 @@ static const CGFloat HUDSIZE = 100.0f;
 
 - (void)dismiss:(void(^)(void))completion {
     
-    self.window.userInteractionEnabled = YES;
+//    self.window.userInteractionEnabled = YES;
     [UIView animateWithDuration:0.25 animations:^{
         self.alpha = 0.3;
     } completion:^(BOOL finished) {