在后台应用程序中触发计时器并显示 UILocalNotifications
我编写了一个 iPhone 应用程序来显示卫星调制解调器的可用带宽,但我感兴趣的是允许计时器在后台继续触发(尽管滴答之间的时间要长得多)并在事件期间显示 UILocalNotifications,例如达到剩余限额 20%。我认为这个问题的答案是“你不能”,但我在这里发帖以防万一我错了。
PS:Stack Overflow 总是首先出现在我的 Google 搜索中。这里有一个非常好的社区。感谢您的帮助。 :)
I've written an iPhone app to display available bandwidth for my satellite modem, but I'm interested in allowing the timer to continue to fire in the background (though with much greater time between ticks) and display UILocalNotifications during events such as reaching a 20% remaining limit. I think the answer to this is "You can't", but I'm posting here just in case I'm wrong.
PS: Stack Overflow always shows up first on my Google Searches. You've got a very great community here. Thank you for all your help. :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前这是不可能的,但苹果工程师正在调查一个“已知问题”。
This is currently impossible, but a "known issue" being investigated by Apple's engineers.