菜鸟教程小白 发表于 2022-12-13 15:28:31

iphone - 如何在 iPhone SDK 的后台运行警报?


                                            <p><p>我将闹钟时间设置为 1 小时。当应用程序处于运行模式时,警报工作正常,但当它在后台时,警报无法正常工作。如何在后台运行警报。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>您需要使用本地通知。这很简单。有关详细信息,请参阅此文档(推送通知来自远程来源,因此您可以忽略它们)。</p>

<p> <a href="http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008194-CH1-SW1" rel="noreferrer noopener nofollow">http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008194-CH1-SW1</a> </p></p>
                                   
                                                <p style="font-size: 20px;">关于iphone - 如何在 iPhone SDK 的后台运行警报?,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/11733069/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/11733069/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: iphone - 如何在 iPhone SDK 的后台运行警报?