init(userActivity:)
Creates a shortcut with the specified user activity.
Declaration
init(userActivity: NSUserActivity)Parameters
- userActivity:
The user activity indicating the action to perform when invoking the shortcut.
Creates a shortcut with the specified user activity.
init(userActivity: NSUserActivity)The user activity indicating the action to perform when invoking the shortcut.