Queries a network service for the contents of its TXT records.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
CFDataRef object containing the requested TXT data and suitable for passing to
NULL if the service’s TXT data has not been resolved.
This function gets the data from the service’s TXT records.
This function gets the data in a thread-safe way, but the data itself is not safe if the service is altered from another thread.