【发布时间】:2012-01-31 01:12:40
【问题描述】:
我的应用中的 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)逐渐消失到几乎不可见的状态,使得方法看起来好像在它们实际完成之前已经完成执行。
对这里可能出现的问题有什么想法吗?
非常感谢!
【问题讨论】:
标签: iphone objective-c ios mbprogresshud