A Boolean value that indicates whether the activity can be publicly accessed by all iOS users.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
The default value of this property is
NO, which indicates that the activity object contains private or sensitive information or that the activity is not useful to other users. When the value of this property is
YES, the system identifies this activity as one that can be shared publicly. When you make an activity public, the system indexes the values in the
webpage properties, and you must provide a value for one of those properties.
Identifying an activity as public confers an advantage when you also add web markup to the content on your related website. Specifically, when users engage with your app’s public activities in search results, it indicates to Apple that public information on your website is popular, which can help increase your ranking and potentially lead to expanded indexing of your website’s content.