A URL that encodes data to be transmitted with the message.
- iOS 10.0+
Encode your application’s data in the URL. For example, you can encode data as key-value pairs in the URL’s query string, as shown below:
The message object is delivered to the extension running on the recipient’s device. The extension can access the session’s current state from the message’s
URL property, as shown below:
If the message is selected on macOS, the system loads the URL in a web browser. The URL should point to a web service that returns a meaningful result based on the encoded data.
The URL property must use an HTTP, HTTPS, or data scheme. Custom app schemes are not supported. Additionally, the URL cannot be longer than 5,000 characters.
By default, this property is set to