以下是崩溃信息:
Trapped uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[CDAudioManager handleInterruption]: unrecognized selector sent to instance 0x280581310’
(
0 CoreFoundation 0x000000021b005294 + 252
1 libobjc.A.dylib 0x000000021a1df9f8 objc_exception_throw + 56
2 CoreFoundation 0x000000021af21ab8 + 0
3 CoreFoundation 0x000000021b00aac4 + 1408
4 CoreFoundation 0x000000021b00c75c _CF_forwarding_prep_0 + 92
5 CoreFoundation 0x000000021af76318 + 20
6 CoreFoundation 0x000000021af762e4 + 64
7 CoreFoundation 0x000000021af757d8 + 392
8 CoreFoundation 0x000000021af75484 + 96
9 CoreFoundation 0x000000021aeeed64 + 1496
10 CoreFoundation 0x000000021af74f34 _CFXNotificationPost + 696
11 Foundation 0x000000021b95d7f4 + 68
12 AVFAudio 0x0000000220e829e8 + 1080
13 AVFAudio 0x0000000220e7b984 + 68
14 libdispatch.dylib 0x000000010615b6f0 _dispatch_call_block_and_release + 24
15 libdispatch.dylib 0x000000010615cc74 _dispatch_client_callout + 16
16 libdispatch.dylib 0x000000010616a6fc _dispatch_main_queue_callback_4CF + 1360
17 CoreFoundation 0x000000021af96c1c + 12
18 CoreFoundation 0x000000021af91b54 + 1924
19 CoreFoundation 0x000000021af910b0 CFRunLoopRunSpecific + 436
20 GraphicsServices 0x000000021d19179c GSEventRunModal + 104
21 UIKitCore 0x00000002477c7978 UIApplicationMain + 212
22 Domino QiuQiu 0x0000000100e905cc main + 108
23 libdyld.dylib 0x000000021aa568e0 + 4
)
在游戏应用中开启声音,然后按Home键返回主界面,再回到游戏应用中,反复两次,程序崩溃,查阅资料得到的结论好像是跟cocos2d引擎中的部分设置委托有关,求解答!