循环定时器相关逻辑

This commit is contained in:
kai60
2022-05-18 10:08:20 +08:00
parent 0ab0c4fa08
commit cf26e85b18
6 changed files with 125 additions and 130 deletions
+3 -3
View File
@@ -337,11 +337,11 @@
}
if (sec<=9) {
miaoString=[NSString stringWithFormat:@"0%llu",fen
miaoString=[NSString stringWithFormat:@"0%llu",sec
];
// NSLog(@"str3 %@",fenString);
}else{
miaoString=[NSString stringWithFormat:@"%llu",fen
miaoString=[NSString stringWithFormat:@"%llu",sec
];
// NSLog(@"str4 %@",fenString);
}
@@ -351,7 +351,7 @@
NSString*formatString=[NSString stringWithFormat:@"%@:%@",shiString,fenString];
if (miaoString.length) {
[formatString stringByAppendingFormat:@":%@",miaoString];
formatString = [formatString stringByAppendingFormat:@":%@",miaoString];
}
//NSLog(@"str5 %@",formatString);