Skip to content
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

Handle local notification #3

Open
callzhang opened this issue Aug 12, 2015 · 3 comments
Open

Handle local notification #3

callzhang opened this issue Aug 12, 2015 · 3 comments
Assignees

Comments

@callzhang
Copy link
Owner

这个app是一个很简单的新增联系人第二天提醒功能,只有两个主要的class,一个是VC,一个是model。

https://itunes.apple.com/us/app/once-your-new-contacts-reminder/id992223150?mt=8

现在有两个任务

  1. 需要对local notification加自定义按钮,我好像已经做了。 “Remind me in three days", "Remind me in a week", "OK"
  2. 需要对这些按钮进行处理,重新schedule一个local notification,在相应的时间之后。

我好像有一个debug 的view来看已经schedule的LN,但是用的是tableView,显示不完全,如果有需要你可以用那个view来debug,或者自行修改。

@callzhang
Copy link
Owner Author

这里用到的是新的push notification的功能,你可以看一下
https://developer.apple.com/videos/wwdc/2015/?id=720

@callzhang
Copy link
Owner Author

你之前说加了联系人,没有激活检测功能,是应为background fetch是间隔执行的。需要在xcode里面激活
image

这里需要加一个功能,就是用户直接点击了通知,进入app以后需要直接打开文本输入框。

@callzhang
Copy link
Owner Author

我已经修复了background fetch的一个bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants