Created
July 17, 2019 11:08
-
-
Save NunoAlexandre/70e73375596decf14e3934c9c373ebe6 to your computer and use it in GitHub Desktop.
A small step - before
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
observers.append(NotificationCenter.default.addObserver(forName: AVAudioSession.interruptionNotification, object: nil, queue: nil) { [weak weakSelf = self] (notification) in | |
weakSelf?.onInterruption(notification) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment