【发布时间】:2016-03-02 18:50:40
【问题描述】:
我必须将我的 MBProgressHUD 添加到 self.navigationController.view,因为在 self.view 上存在设计错误(在 UITableView 中)。
一切都按预期工作,但 MBProgressHud 禁用了后退按钮上的 userInteraction(左 navigationItem),我希望这不会禁用它。
我该怎么做?
【问题讨论】:
-
你有没有尝试改变 hud 框架?
-
@TejaNandamuri 当我添加到 self.view 时?不,你是什么意思?我正在使用:self.hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; self.hud.mode = MBProgressHUDModeIndeterminate;
-
@TejaNandamuri 试图改变框架,不起作用...
-
你是怎么改的?
-
@TejaNandamuri 尝试使用 self.hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; self.hud.frame = CGRectMake(200, 200, 50, 50);
标签: ios objective-c uitableview uinavigationcontroller mbprogresshud