Tells the delegate that a peripheral’s services changed.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Bluetooth
The peripheral providing this information.
A list of services invalidated by this change.
Core Bluetooth invokes this method whenever one or more services of a peripheral change. A peripheral’s services have changed if:
The peripheral removes a service from its database.
The peripheral adds a new service to its database.
The peripheral adds back a previously-removed service, but at a different location in the database.
invalidated parameter includes any changed services that you previously discovered; you can no longer use these services. You can use the
discover method to discover any new services that the peripheral added to its database. Use this same method to find out whether any of the invalidated services that you were using (and want to continue using) now have a different location in the peripheral’s database.