isAdvertising
A Boolean value that indicates whether the peripheral is advertising data.
Declaration
var isAdvertising: Bool { get }Discussion
This value is true if the peripheral is advertising data as a result of successfully calling the startAdvertising(_:) method. The value is false if the peripheral is no longer advertising its data.