I want to measure in analytics usage of Handoff in my app. How to check that NSUserActivity comes from handoff? Variable eligableforhandoff doesn't work, because it is true after spotlightsearch too
You can use the userInfo
dictionary on the activity to pass any app-specific information you want (if it can be encoded into a plist). So you can specify some key that you only add for handoff and use that to track any details you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With