我正在使用以下内容来推送我的 cameraViewController
[appDelegate.navigationController pushViewController:cameraViewController animated:YES];
在我的 cameraViewController 的 ViewDidLoad 中,我使用以下命令启动 imagepicker
[self presentModalViewController:self.overlayViewController.imagePickerController animated:YES];
当我 DismissModalViewController 并弹出 cameraViewController 时,我成功返回主菜单。问题是当我再次按下 cameraViewController 时,我得到一个空白屏幕,这可能是因为 presentModalViewController 没有被再次调用。我试图将 presentModalViewController 放在不同的地方,比如 init 和 loadview,但没有一个对我有用。
任何帮助将不胜感激。
我尝试实现的是我的叠加层上的后退按钮,以便在需要时返回主菜单。