OGeek|极客世界-中国程序员成长平台

标题: ios - UITabBarController 内的导航 Controller ? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 09:27
标题: ios - UITabBarController 内的导航 Controller ?

我正在使用 PEPhotoCropEditor在 UITabBar Controller 内。当我选择图像进行裁剪时。它在 iOS 8.0 上运行良好。但是当我从 iOS 6.1 裁剪图像时,出现以下错误

enter image description here

Warning: Attempt to present <UINavigationController: 0x201cc5f0> on <UITabBarController: 0x2013a3f0> while a presentation is in progress!

任何人都可以请任何解决方案在 iOS 6.1 及更高版本下在 Tabbar Controller 内执行图像裁剪



Best Answer-推荐答案


可能是您正在呈现另一个 Controller ,而 View Controller 将呈现。 尝试 [self performSelectorselector(yourNewFunction) withObject:nil afterDelay:0.0];

点击这些链接 -

Warning: attempt to present ViewController whose view is not in the window hierarchy

Warning: Attempt to present ModalTableViewController on MainTableViewController which is already presenting (null)

关于ios - UITabBarController 内的导航 Controller ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31705309/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4