【问题标题】:"Unbalanced calls to begin/end appearance transitions for" when navigating front and back using UINavigationController使用 UINavigationController 前后导航时“开始/结束外观转换的不平衡调用”
【发布时间】:2013-05-28 11:41:23
【问题描述】:

我被这个困住了。当我前后导航时,它只是在我的控制台中打印。谁能告诉我为什么会发生这种情况。

在 viewController1 中

-(void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath
{

   [self.navigationController pushViewController:viewCon2 animated:YES];

}

【问题讨论】:

标签: ios uinavigationcontroller


【解决方案1】:

您可能正在创建两个视图控制器并在同一个 segue 操作/按钮按下时推动它。

【讨论】:

  • 我认为你是在 viewWillAppear 中做的。在 viewDidapper 中做它
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2013-01-02
  • 1970-01-01
  • 1970-01-01
  • 2016-01-30
  • 2021-04-12
  • 1970-01-01
相关资源
最近更新 更多