-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification for the next day doesn't fire #1
Comments
可以讲讲为什么原来第二天没有提醒呢?现在怎么修复了? |
1.在添加新的联系人的时候,RHAddressBookExternalChangeNotification这个通知中并没有去scheduleLocalNotification,然后我在这个通知回调里面加了这个方法 [self checkNewContactsAndNotifyWithCompletion:nil]; |
在添加新联系人的时候,app大多数时候应该是在后台suspend状态吧,是应该收不到RHAddressBookExternalChangeNotification的是吧。我原来的做法是background fatch每隔一段时间检查一次。code在appDelegate里面。你改的在哪里?是否可以做一个测试(比如自己改成1分钟后提醒, 然后看看在各种状态下【前台、后台、suspend、killed】有没有提示)? |
后台的情况我再测试一下,如果再添加完联系人不进入前台的话,RHAddressBookExternalChangeNotification这个确实不会回调,我想想办法。 |
如果在你添加完联系人,然后再进入前台,那么一切都正常,我测试过,不进入前台的情况我再修改一下 |
ios8测试的没有问题 |
那你做一个build发布吧
|
No description provided.
The text was updated successfully, but these errors were encountered: