我在我的应用程序中遇到了 MBProgressHUD 的小问题。
基本上我以我能找到的最简单的方式使用它:
[MBProgressHUD showHUDAddedTo:self.view animated:YES];
[self performSelector:@selector(save) withObject:nil afterDelay:0.001];
[self refreshView];
refreshView 方法在执行结束时有这一行:
[MBProgressHUD hideHUDForView:self.view animated:YES];
MBProgress 准确地显示了它应该如何显示,但是在其持续时间的后半部分(ish)逐渐消失到几乎不可见的状态,使得方法看起来好像在它们实际完成之前已经完成执行。
关于这里可能出了什么问题的任何想法?
非常感谢!