拒绝原因:活动指示器无限旋转,用户无法访问内容
同样的情况,第二次因为用了MBProgressHUD而被拒绝。
谁能告诉我上传到appstore的应用会有什么不同?我做了各种测试,在本地没有出现这样的问题。
-----------------------------在我的控制器中------ -----------------
- (void)downloadList
{
if (isLoading) {
return;
}
isLoading = YES;
//do something......
//show the progressbar based on MBProgressHUD
[[MyDelegate getAppDelegate] showProgressBarForTarget:self whileExecuting:@selector(showProgressBarForLoading)];
}
}
- (void)showProgressBarForLoading
{
while (isLoading) {
//i++;
continue;
}
}
- (void)downloadListDidReceive:(XGooConnection*)sender obj:(NSObject*)obj
{
//do something......
isLoading = NO;
}
-----------------------------------------在我的 AppDelegate 中------ -------------
- (void)showProgressBarForTarget:(id)target whileExecuting:(SEL)theSelector
{
UIViewController *controller = [splitViewController.viewControllers objectAtIndex:0];
HUD = [[MBProgressHUD alloc] initWithView:controller.view];
[controller.view addSubview:HUD];
HUD.delegate = self;
// Show the HUD while the provided method executes in a new thread
[HUD showWhileExecuting:theSelector onTarget:target withObject:nil animated:YES];
}
-----------------------------------------拒绝详细的原因------ --------------------
您的应用程序的最新版本已被拒绝........
拒绝理由:
重现的步骤是:
- 启动应用程序
- 选择左上角的菜单按钮
- 选择一个菜单项
- 活动指示器无限旋转,用户无法访问内容