objective-c - MBProgressHUD 设置1.2秒后消失 跟真实计数器上计数,时间是超过1.2秒的,这个该怎么解释?急求
给我你的怀抱
给我你的怀抱 2017-05-02 09:18:55
0
1
1197

MBProgressHUD 设置1.2秒后消失 跟真实计数器上计数,时间是超过1.2秒的,这个该怎么解释?急求。产品要求时间需要精准,不能相差太多,1~2秒的差距就要提这个bug

给我你的怀抱
给我你的怀抱

reply all(1)
世界只因有你

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!