现在的位置: 首页 > 综合 > 正文

Presenting view controllers on detached view controllers is discouraged

2014年09月05日 ⁄ 综合 ⁄ 共 380字 ⁄ 字号 评论关闭

Presenting view controllers on detached view controllers is discouraged <UINavigationController: 0x14642710>.的解决方法:

 [self.view.window.rootViewControllerpresentViewController:controller
animated:YEScompletion:nil];

参考:http://stackoverflow.com/questions/19890761/warning-presenting-view-controllers-on-detached-view-controllers-is-discourage


Token 'string' not expected before outer-most array or object

抱歉!评论已关闭.