摘要:
#import "AudioToolbox/AudioToolbox.h"- (void) ifSilentModeThenMessage{ CFStringRef state; UInt32 propertySize = sizeof(CFStringRef); AudioSessionInitialize(NULL, NULL, NULL, NULL); AudioSessionGetProperty(kAudioSessionProperty_AudioRoute, &propertySize, &state); if(CFStringGetLengt 阅读全文