handleActionWithIdentifier:forRemoteNotification: precedes application:didFinishLaunchingWithOptions:

Hi,


I have a strange issue seems like an iOS bug and I wanted to see if someone else experienced it:


I send push notifications to my app that contains category.


Now, the strange part is, if my app was in the background and was killed by iOS and a push arrives to the device, user will tap the action button but instead of calling appDidFinish and then handleAction it will first call handleAction and only then appDidFinish.


This creates an issue with variables I'm initing in appDidFinish method as they seem to be nil.


How can I solve it? Is this a bug?


Happens on 9.3.3.


Thanks.

Replies

Anyone? Apple's reps?