我在填充 TableView 时显示 HUD,但它似乎显示在 TableView 后面(打破 hud 的 tableview 分隔符)。
这是 TableViewController 中的代码:
- (void)viewDidLoad {
[super viewDidLoad];
MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
hud.mode = MBProgressHUDModeText;
hud.labelText = @"Loading";
// Populate the table
[self getTableData];
self.tableView.rowHeight = 90;
}
它只对 TableViews 执行此操作。