An activity that continues from Handoff or a universal link.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
NSString *const NSUserActivityTypeBrowsingWeb;
Discussion
An NSUser
object with an activity
value of NSUser
indicates either an activity continued from a web browser-to-native app Handoff or a universal link. For this activity type, the webpage
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.