How to debug push notification while app is not launched?

一笑奈何 提交于 2019-12-10 21:22:04

问题


I want to deal with a remote push notification in didFinishLaunchingWithOptions: method while my app was not launched(i killed them after launched),how can i debug this situation?


回答1:


You can acheive this in this way:

In your Project's target select Edit Scheme and then change this setting:

Change Automatically to wait for executable to be launched.

Keep your device connected and run the app. It will debug when you will send notification.



来源:https://stackoverflow.com/questions/45855246/how-to-debug-push-notification-while-app-is-not-launched

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!