Handling handoff between apple watch notification to iPhone app

I asked this question on stackoverflow and didnt get a response. http://stackoverflow.com/questions/32906279/handling-handoff-between-apple-watch-notification-to-iphone-app.


I'm developing an app that does not have an apple watch app.

When user gets a notification for my app on the apple watch and views it and then views the lock screen of the phone the handoff icon is there for my app.

Which method gets called when the user opens my app using the icon in the bottom left of the screen(handoff icon) after viewing my app notification on their apple watch app?

Handoff will call:

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *))restorationHandler


I think you should create a custom long-look notification interface in order to pass userActivity to your iOS app.

I sent my self a push to my app opened it on the watch and then opened the app via handoff and the breakpoint in that method was never hit. That method is not being called. I'm starting to think its impossible to do. Only apple's native apps actually launch the iphone app somewhere else besides the home screen.

Also WhatsApp works correctly.

I think you should implement your notification as stated in this answer and it will "just work".

Handling handoff between apple watch notification to iPhone app
 
 
Q