Explorar el Código

turn the multi-trigger condition off by default (#1306)

Frank hace 6 años
padre
commit
a3344711f2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MJRefresh/Base/MJRefreshAutoFooter.m

+ 1 - 1
MJRefresh/Base/MJRefreshAutoFooter.m

@@ -57,7 +57,7 @@ - (void)prepare
     self.automaticallyRefresh = YES;
     
     // 默认是当offset达到条件就发送请求(可连续)
-    self.onlyRefreshPerDrag = NO;
+    self.onlyRefreshPerDrag = YES;
 }
 
 - (void)scrollViewContentSizeDidChange:(NSDictionary *)change