当收到推送通知时,有没有办法让声音持续播放,直到用户采取行动--比如按下OK按钮--当应用程序不活动时?
我想发送一个推送消息,并让警报声一直播放,直到用户做出响应,模仿寻呼机的行为。
这个是可能的吗?有什么建议吗?
发布于 2011-01-06 03:21:14
不可能。请参阅苹果文档http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
发布于 2011-01-06 03:21:15
声音不会持续播放,它只会“编钟”一次。
https://stackoverflow.com/questions/4608275
相似问题