- iOS 6.0+
- macOS 10.9+
- tvOS 6.0+
You use this class to create a characteristic and to set its properties and permissions as desired. After you create a characteristic and add it to a local service, you can publish it (and the service) to the peripheral’s local database using the
add(_:) method of the
CBPeripheralManager class. After you publish a characteristic, the characteristic is cached and you can no longer make changes to it.