我将以下代码写入 MBProgressHUD:
HUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
[self.view addSubview:HUD];
HUD.delegate = self;
HUD.labelText = NSLocalizedString(@"Loading Workbench", nil);
HUD.detailsLabelText = NSLocalizedString(@"please wait", nil);
[HUD showWhileExecuting:@selector(loadWorkbench) onTarget:self withObject:nil animated:YES];
在loadWorkbench方法中,我编写了如下代码:
[self performSelector:@selector(CallPrivateKwikis) withObject:nil afterDelay:0.1];
但从这里CallPrivateKwikis永远不会被调用。我找不到问题。
你们中的任何人都可以帮忙吗?
提前致谢。