我正在使用 MBProgressHud 来显示负载指示器。这是我的显示代码:
self.hud = [[MBProgressHUD alloc] initWithView:self.view];
[self.view addSubview:self.hud];
self.hud.delegate = self;
self.hud.labelText = @"Loading :)";
[self.hud showWhileExecuting:@selector(CreateCollage) onTarget:self withObject:nil animated:YES];
问题是,当它运行时,它会清除包含一堆照片的视图。这让我的用户感到困惑,因为他们失去了视觉参考框架。
如果我不使用 MBProgressHud,你会看到现有的照片集直到CreateCollage
完成,它会有点滞后或冻结到下一组,这有点好,但不是首选。有任何想法吗?谢谢