// 显示指示器
MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:[[UIApplication sharedApplication].windows objectAtIndex:1] animated:YES];
[self.view.window addSubview:HUD];
HUD.labelText = @“正在加载中...”;
加载完成后,调用[HUD hide:YES];隐藏
2022-09-23 17:49:42
// 显示指示器
MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:[[UIApplication sharedApplication].windows objectAtIndex:1] animated:YES];
[self.view.window addSubview:HUD];
HUD.labelText = @“正在加载中...”;
加载完成后,调用[HUD hide:YES];隐藏