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

      3. 警告的含义“在演示过程中!"

        时间:2023-05-17

        <tfoot id='dmg10'></tfoot>

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

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

                <tbody id='dmg10'></tbody>
            1. <i id='dmg10'><tr id='dmg10'><dt id='dmg10'><q id='dmg10'><span id='dmg10'><b id='dmg10'><form id='dmg10'><ins id='dmg10'></ins><ul id='dmg10'></ul><sub id='dmg10'></sub></form><legend id='dmg10'></legend><bdo id='dmg10'><pre id='dmg10'><center id='dmg10'></center></pre></bdo></b><th id='dmg10'></th></span></q></dt></tr></i><div id='dmg10'><tfoot id='dmg10'></tfoot><dl id='dmg10'><fieldset id='dmg10'></fieldset></dl></div>
                • <bdo id='dmg10'></bdo><ul id='dmg10'></ul>
                  本文介绍了警告的含义“在演示过程中!"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  当我将 Instagram 集成到我的项目中时.我从 UIImagePickerController 得到一个 image 之后我想将它发送到 Instagram 但是当我发送 imageInstagram 通过 UIDocumentInteractionController 委托方法 presentOptionsMenuFromRect:inView: animated: like this

                  When I am integarting the Instagram in my project. I am getting a image from UIImagePickerController and after it i want to send it to Instagram But when I am sending image to Instagram by UIDocumentInteractionController delegate method presentOptionsMenuFromRect:inView: animated: like this

                  [documentInteractionController presentOptionsMenuFromRect:CGRectZero inView:self.view animated:YES];
                  

                  警告出现警告:在演示过程中尝试显示 <_UIDocumentActivityViewController: 0x7584780>!
                  应用程序没有崩溃.但我没有得到问题.为什么会出现这个警告以及它的含义.我在互联网上搜索并阅读了有关此的问题,但没有得到任何答案.帮帮我!!

                  The warning comes Warning: Attempt to present <_UIDocumentActivityViewController: 0x7584780> on while a presentation is in progress!
                  The application is not Crashing. But I am not getting the Problem. Why this warning comes and what It means. I searched on Internet and read questions about this but not got any answer. Help me !!

                  推荐答案

                  // Breaks
                  [viewController1 dismissViewControllerAnimated:YES completion:NULL];
                  [self presentViewController:viewController2 animated:YES completion:NULL];
                  
                  // Does not break
                  [viewController1 dismissViewControllerAnimated:YES completion:^{
                      [self presentViewController:viewController2 animated:YES completion:NULL];
                  }];
                  

                  上述代码的 Swift 3 版本如下所示:

                  The Swift 3 version of the above code would look like this:

                  // Breaks
                  viewController1.dismiss(animated: true)
                  present(viewController2, animated: true)
                  
                  // Does not break
                  viewController1.dismiss(animated: true) {
                      present(viewController2, animated: true)
                  }
                  

                  请注意上面第二个示例中完成处理程序的使用.
                  它仅在 viewController1 完全关闭后呈现 viewController2.

                  Note the use of the completion handler in the second example above.
                  It only presents viewController2 after viewController1 has been fully dismissed.

                  这篇关于警告的含义“在演示过程中!"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:以编程方式创建一个 navigationController (Swift) 下一篇:如何以编程方式为 UINavigationController 子类化 UINavigationBar?

                  相关文章

                  <tfoot id='mYHSY'></tfoot>

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

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

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