NSUserActivity in iOS

Mr.Javed Multani
2 min readOct 2, 2020

An NSUserActivity object can be used to coordinate significant events in an app with the system. It is the basis for Handoff between different devices running iOS and macOS. Additionally, it may also be used to improve public- indexing and augment or create Spotlight Search results for an app. As of iOS 10, it may also be used to coordinate interactions between your app and Siri using SiriKit.

Creating a NSUserActivity

To create a NSUserActivity object, your app must declare the types of activities it supports in its Info.plist file. Supported activities are defined…

--

--

Mr.Javed Multani

Software Engineer | Certified ScrumMaster® (CSM) | UX Researcher | Youtuber | Tech Writer