features:新绚多设备灯的控制

This commit is contained in:
一只会编程的狮子
2019-04-25 00:35:53 +08:00
parent 083bbf164a
commit 4b74588759
7 changed files with 186 additions and 17 deletions
+2 -2
View File
@@ -40,13 +40,13 @@
}
-(void)myhudtimeOut{
_myHudTimer=[NSTimer scheduledTimerWithTimeInterval:12.0 target:self selector:@selector(hudTimeout) userInfo:nil repeats:NO];
_myHudTimer=[NSTimer scheduledTimerWithTimeInterval:10.0 target:self selector:@selector(hudTimeout) userInfo:nil repeats:NO];
}
-(void)hudTimeout{
if (_hudActivityView.isAnimating) {
[_hudActivityView stopAnimating];
[self showTitle:@"" messsage:@"下拉刷新重试"];
[self showTitle:@"" messsage:@"请重试"];
[self removeFromSuperview];
}else{
return;