Reputation: 1433
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?
Upvotes: 3
Views: 1715
Reputation: 558
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.
Upvotes: 13