ios - watch os2 handoff to iPhone doesn't work when app is being launched -


i'm having issues watch os2 handoff, specially when iphone app not running. see launchoptions is: uiapplicationlaunchoptionsuseractivitydictionarykey = { uiapplicationlaunchoptionsuseractivityidentifierkey = "xxx"; uiapplicationlaunchoptionsuseractivitytypekey = "com.xxx"; };

it seems missing uiapplicationlaunchoptionsuseractivitykey have actual nsuseractivity object need handling handoff.

*when opening on running app (bool)application:(uiapplication *)application continueuseractivity:(nsuseractivity *)useractivity restorationhandler:(void(^)(nsarray * __nullable restorableobjects))restorationhandler correct nsuseractivity , can handle properly.

any idea have gone wrong? thing have mention, when opening core spotlight result on closed app, nsuseractivity being passed correctly, seems issue watch handoff.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -