<legend id='XmN4W'><style id='XmN4W'><dir id='XmN4W'><q id='XmN4W'></q></dir></style></legend>

    1. <i id='XmN4W'><tr id='XmN4W'><dt id='XmN4W'><q id='XmN4W'><span id='XmN4W'><b id='XmN4W'><form id='XmN4W'><ins id='XmN4W'></ins><ul id='XmN4W'></ul><sub id='XmN4W'></sub></form><legend id='XmN4W'></legend><bdo id='XmN4W'><pre id='XmN4W'><center id='XmN4W'></center></pre></bdo></b><th id='XmN4W'></th></span></q></dt></tr></i><div id='XmN4W'><tfoot id='XmN4W'></tfoot><dl id='XmN4W'><fieldset id='XmN4W'></fieldset></dl></div>
      <tfoot id='XmN4W'></tfoot>

      • <bdo id='XmN4W'></bdo><ul id='XmN4W'></ul>

      1. <small id='XmN4W'></small><noframes id='XmN4W'>

        应用程序崩溃 - “DiskImageCache:无法解析旧目录的

        时间:2023-05-30

        <small id='HsxU6'></small><noframes id='HsxU6'>

      2. <legend id='HsxU6'><style id='HsxU6'><dir id='HsxU6'><q id='HsxU6'></q></dir></style></legend>
          <bdo id='HsxU6'></bdo><ul id='HsxU6'></ul>

                <tbody id='HsxU6'></tbody>
                  <tfoot id='HsxU6'></tfoot>
                • <i id='HsxU6'><tr id='HsxU6'><dt id='HsxU6'><q id='HsxU6'><span id='HsxU6'><b id='HsxU6'><form id='HsxU6'><ins id='HsxU6'></ins><ul id='HsxU6'></ul><sub id='HsxU6'></sub></form><legend id='HsxU6'></legend><bdo id='HsxU6'><pre id='HsxU6'><center id='HsxU6'></center></pre></bdo></b><th id='HsxU6'></th></span></q></dt></tr></i><div id='HsxU6'><tfoot id='HsxU6'></tfoot><dl id='HsxU6'><fieldset id='HsxU6'></fieldset></dl></div>
                  本文介绍了应用程序崩溃 - “DiskImageCache:无法解析旧目录的绝对路径."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我正在开发一个应用程序,我在其中显示用户在 PDF 文件中输入的数据.PDF 文件也是动态创建的.

                  I am working on an app, where I display the data entered by user in a PDF file. PDF File is also created dynamically.

                  这一切都很好.

                  我已经实现了 QuickLook 框架来显示 pdf 文件.当我调用 QL 框架时,PDF 文件 id 显示得很好,但是当返回调用屏幕时,我的应用程序崩溃了,没有任何崩溃日志或内存警告.

                  I have implemented QuickLook framework to display the pdf file. When I call the QL framework, PDF file id displayed quite fine but when come back to the calling screen, my app crashes without any crash log or memory warnings.

                  我正在使用以下代码调用 QL:

                  I am calling QL with below code:

                  [[self navigationController] presentModalViewController:qlPreviewer animated:YES];
                  

                  创建的日志是

                  DiskImageCache: Could not resolve the absolute path of the old directory.
                  [Switching to process 3070 thread 0x17603]
                  [Switching to process 3070 thread 0x15503]
                  

                  这很有趣.....当我在 Instruments 中运行相同的程序来检查泄漏和内存管理时,我只能在滚动 PDF 文档并查看所有页面时发现泄漏.但是,有趣的是,我没有看到任何应用程序崩溃.另外,我确实尝试了 ZombieEnabled = YES 并且没有它但没有使用 Instruments 的应用程序崩溃.

                  This is quite interesting..... When I run the same program in Instruments to check for leaks and Memory Management, i can only find leaks when PDF document is scrolled and all the pages are viewed. However, interestingly there is no app crash that I can see. Also, I did try with ZombieEnabled = YES and without it but no app crash with Instruments.

                  我对如何解释这个问题一无所知,并且一直在尝试不同的方法来解决这个问题.另外,我也试过 UIWebView 但结果是一样的.

                  I am quite clueless on how to interpret this and have been trying different things to solve this. Also, I have tried UIWebView but the result is the same.

                  我再次尝试检查问题并发现了一些有趣的东西.当我直接从 X-Code 执行代码时 - 如上所述,我遇到了崩溃.

                  I was again trying something to check out the issue and found something interesting. When i execute the code directly from X-Code - i get the crash in as explained above.

                  在其他情况下,如果我通过单击 sim 中的应用程序来执行应用程序...不会崩溃

                  In other instance, if I execute the app by clicking on the app in the sim... no crash

                  我还没有在设备上检查这个.有人可以确认设备上的崩溃吗?

                  I am yet to check this on device. Can someone confirm the crash on the device?

                  此外,谷歌没有这个问题的答案.

                  Also, Google does not have answer to this question.

                  提前感谢您的回答.任何人都可以对此有所了解吗?

                  Thanks in advance for your answers. Can anyone shed some light on this?

                  推荐答案

                  我也遇到了同样的问题.

                  I'm having the exact same issue.

                  作为一种解决方法,您可以禁用或删除所有异常"断点.这可能会使调试变得更加困难,但它并不像必须一直重新启动应用程序那样糟糕.

                  As a workaround, you can disable or remove your 'All Exceptions' breakpoint. This might make debugging a little more difficult, but it's not as bad as having to relaunch the application all the time.

                  这是导致问题的断点.我很久以前就设置了它,以至于我忘记了它在那里

                  This is the breakpoint causing the issue. I had set it so long ago that I'd forgotten it was there

                  这篇关于应用程序崩溃 - “DiskImageCache:无法解析旧目录的绝对路径."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如果为 setKeepAliveTimeout 方法设置 15 分钟,VOIP 应 下一篇:iOS5和iOS6的CCCrypt区别

                  相关文章

                  最新文章

                  <tfoot id='DXLnh'></tfoot>
                    <bdo id='DXLnh'></bdo><ul id='DXLnh'></ul>

                  1. <i id='DXLnh'><tr id='DXLnh'><dt id='DXLnh'><q id='DXLnh'><span id='DXLnh'><b id='DXLnh'><form id='DXLnh'><ins id='DXLnh'></ins><ul id='DXLnh'></ul><sub id='DXLnh'></sub></form><legend id='DXLnh'></legend><bdo id='DXLnh'><pre id='DXLnh'><center id='DXLnh'></center></pre></bdo></b><th id='DXLnh'></th></span></q></dt></tr></i><div id='DXLnh'><tfoot id='DXLnh'></tfoot><dl id='DXLnh'><fieldset id='DXLnh'></fieldset></dl></div>
                    1. <legend id='DXLnh'><style id='DXLnh'><dir id='DXLnh'><q id='DXLnh'></q></dir></style></legend>

                      <small id='DXLnh'></small><noframes id='DXLnh'>