Global Variable

NSUserActivityTypeBrowsingWeb

An activity that continues from Handoff or a universal link.

Declaration

let NSUserActivityTypeBrowsingWeb: String

Discussion

An NSUserActivity object with an activityType value of NSUserActivityTypeBrowsingWeb indicates either an activity continued from a web browser-to-native app Handoff or a universal link. For this activity type, the webpageURL property contains the http or https URL associated with the activity.

For more information on universal links, see Allowing Apps and Websites to Link to Your Content. For more information on web browser-to-native app Handoff, see Web Browser–to–Native App Handoff.