remove(_:)
Removes an observer from receiving Now Playing template events.
Declaration
func remove(_ observer: any CPNowPlayingTemplateObserver)Parameters
- observer:
An object that implements the Cpnowplayingtemplateobserver protocol.
Discussion
You must register an observer using the add(_:) method before calling this method.