Xcode 14.0 (14A309)、iOS 部署目标 15.0
当我使用 fileImporter 选择文件或取消 fileImporter 时,视图返回到 navigationView #1 而不是 navigationView #3,并显示以下日志消息:
The view service did terminate with error:
Error Domain=_UIViewServiceErrorDomain Code=1 "(null)"
UserInfo={Terminated=disconnect method}
Run Code Online (Sandbox Code Playgroud)
它以前工作得很好,但我可能在代码的其他地方做了一些更改,导致这种断开连接或导航视图之一中的某些内容为零。我无法找到错误,也无法确定错误的确切位置/时刻。
对改进调试或了解什么可能触发此类错误有任何帮助吗?
谢谢。菲利普.