setName(_:forPeripheral:)
Displays the name of the specified peripheral.
Declaration
func setName(_ name: String, forPeripheral peripheral: CBPeripheral)Parameters
- name:
The user-facing name of the specified peripheral.
- peripheral:
The peripheral corresponding to the name.