美文网首页
reason: 'child view controller:<

reason: 'child view controller:<

作者: yycache | 来源:发表于2020-04-08 10:11 被阅读0次

错误提示:

[Bugly] Trapped uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'child view controller:<UICompatibilityInputViewController: 0x14db00d50> should have parent view controller:<MGPGCreateRoomVC: 0x14499b800> but requested parent is:<UIInputWindowController: 0x14487a600>' 

解决办法 :

在包含textfield的对象view中 使用了跟系统重名的命名 inputview 避开系统view命名,修改即可。否则这crash在键盘消失的时候。

相关文章

网友评论

      本文标题:reason: 'child view controller:<

      本文链接:https://www.haomeiwen.com/subject/syyzphtx.html