MBProgressHUD 设置1.2秒后消失 跟真实计数器上计数,时间是超过1.2秒的,这个该怎么解释?急求。产品要求时间需要精准,不能相差太多,1~2秒的差距就要提这个bug
世界只因有你2017-05-02 09:20:55
Use a timer to compare with this. This behavior itself is quite cute.
After all, it is a machine, and the machine will inevitably have errors. The correct approach should be to handle the next transaction in the disappearing callback of MBProgressHUD.
ps: If MBProgressHUD does not have this function, it is recommended that you use SVProgressHUD instead.
Good luck to you.