Skip to content

Commit 25c2403

Browse files
author
minggo
authored
fix crash (cocos2d#18375)
1 parent 617009f commit 25c2403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/audio/ios/CDAudioManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ - (id) init: (tAudioManagerMode) mode {
417417
if ((self = [super init])) {
418418

419419
[[NSNotificationCenter defaultCenter] addObserver: self
420-
selector: NSSelectorFromString(@"handleInterruption")
420+
selector: NSSelectorFromString(@"handleInterruption:")
421421
name: AVAudioSessionInterruptionNotification
422422
object: [AVAudioSession sharedInstance]];
423423

0 commit comments

Comments
 (0)