我知道这个问题看起来重复的,但我并没有找到确切的答案,因为按我的requirement.Doing应用有关通过下面的步骤遵循医疗事件
1) connected the app to smart watch.
2) schedule the local notifications i. e when user needs to take
medicine
3) when the schedule time arrives local notification fires and
delegate method is calling (did receive local notification)
4) At the time of firing local notifications i am sending
message(sms) to the user from the app that he has to take certain
medicine
一切工作正常时,应用程序在前台当应用达到背景只有本地通知被烧成由user.Because没有收到任何消息,没有方法调用时,应用程序是在background.But我的整个应用程序的使用情况主要取决于在发送短信。
对此有任何解决方案? 任何帮助将受到欢迎! Thnxx!