hi i used your class just in a subview and it gets deallocated when removing the subview. when the app later goes into background it calls the selector for AVAudioSessionInterruptionNotification. this results in:
-[__NSDictionaryM audioSessionInterrupted:]: unrecognized selector sent to instance 0x........
libc++abi.dylib: terminate_handler unexpectedly threw an exception
hi i used your class just in a subview and it gets deallocated when removing the subview. when the app later goes into background it calls the selector for AVAudioSessionInterruptionNotification. this results in: -[__NSDictionaryM audioSessionInterrupted:]: unrecognized selector sent to instance 0x........ libc++abi.dylib: terminate_handler unexpectedly threw an exception
i just added one line to avoid these crashes :)