推送方法执行顺序总结:
1. app 前台运行时,会调用 remote notification
2. app后台运行时,点击提醒框,会调用remote notification
3. 点击app 图标,不调用remote notification,没反应
4. app 没有运行时,点击提醒框,finishLaunching中,launchOptions 传参
5. 点击app 图标,launchOptions 不传参,不调用remote notification
推送方法执行顺序总结:
1. app 前台运行时,会调用 remote notification
2. app后台运行时,点击提醒框,会调用remote notification
3. 点击app 图标,不调用remote notification,没反应
4. app 没有运行时,点击提醒框,finishLaunching中,launchOptions 传参
5. 点击app 图标,launchOptions 不传参,不调用remote notification