Просмотр исходного кода

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

Pen Li 7 лет назад
Родитель
Сommit
69b1a51cc5
1 измененных файлов с 2 добавлено и 2 удалено
  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) {