菜鸟教程小白 发表于 2022-12-11 18:22:25

ios - 通知 "app started to the background"


                                            <p><p>我最近在私有(private)环境中发布了一个应用程序,一些用户告诉我,有时会弹出一个包含“应用程序启动到后台”的通知。</p>

<p>消息<strong>“应用程序启动到后台”</strong>是有意义的。但是,当我在 iPhone 上使用我的应用程序并且该应用程序从后台启动时,我没有任何此类通知。 </p>

<p>你知道什么会引发这个问题吗?</p>

<p>这是投诉用户的截图。</p>

<p> <a href="/image/HAR7h.jpg" rel="noreferrer noopener nofollow"><img src="/image/HAR7h.jpg" alt="enter image description here"/></a> </p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>作为 <a href="https://stackoverflow.com/users/1411070/essence-of-chicken" rel="noreferrer noopener nofollow">@Essence of chicken</a>说,由于其语法错误,这不可能是操作系统生成的消息。</p>

<p>这是由于我使用了一个外部库。在我的 Xcode 项目中,“应用程序开始到后台”的 <code>Find in Workspace...</code> 没有显示任何内容。查找此字符串来自何处的唯一方法是使用 <code>grep</code>(因为命令也在二进制文件中搜索):</p>

<pre><code>➜iOS_app git:(dev) ✗ grep -Rn &#34;App started to the background&#34; .
Binary file ./Frameworks/Softphone.framework/Softphone matches
</code></pre></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 通知&#34;app started to the background&#34;,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/41249001/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/41249001/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 通知 &#34;app started to the background&#34;