search

Home  >  Q&A  >  body text

objective-c - MBProgressHUD 设置1.2秒后消失 跟真实计数器上计数,时间是超过1.2秒的,这个该怎么解释?急求

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

给我你的怀抱给我你的怀抱2882 days ago1316

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你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.

    reply
    0
  • Cancelreply