错误提示:
[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在键盘消失的时候。
网友评论