Sets the TXT record for the receiver, and returns a Boolean value that indicates whether the operation was successful.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
The TXT record for the receiver.
recordData is successfully set as the TXT record, otherwise
Configuring Network Services
var addresses: [Data]?
A read-only array containing
NSData objects, each of which contains a socket address for the service.
var includesPeerToPeer: Bool
Specifies whether to also publish, resolve, or monitor this service over peer-to-peer Bluetooth and Wi-Fi, if available.
false by default.