2011-11-21 4 views
4

가능한 중복 아이폰을 음소거 :
Can an iOS app switch the device to silent mode?이 프로그래밍 방식으로

내가 아이폰 앱 dev에 새로운 오전, 나는 벨소리 및 알림 음에 대한 내 아이폰 자동 모드를 넣고 싶다.
앱에서 보았기 때문에 가능합니다. "AutoSilent"

+1

나는 그것의 반복 된 질문을 생각한다. http://stackoverflow.com/questions/7828958/is-there-a-method-that-can-be-used-by-an-ios-application-to-programmatically-swi –

+0

그래서 당신은 확실히 솔루션을 얻을 것이다 이전 게시물을 참조하십시오 ... http://stackoverflow.com/questions/287543/how-to-programmatically-sense-the-iphone-mute-switch http : // stackoverflow. com/questions/833304/how-to-detect-iphone-on-on-silent-mode http://stackoverflow.com/questions/6901363/detecting-the-iphones-ring-silent-mute-switch-using-avaudioplayer -not-worki http://stackoverflow.com/questions/8158087/detecting-iphone-mute-switch-in-ios-5 희망이 도움이 될 것입니다 .... – DShah

+1

@DShah - 그 링크에 대해 "어떻게 감지합니까 "설정 방법이 아닙니다. – Kev

답변

0

앱 샌드 박스의 사물에 영향을주기 때문에 공개 API는 없습니다.

일부 버전의 iOS에는 버그가있는 것으로보고됩니다. 앱에서 특정 방식으로 소리를 재생하면 일부 경고음이 차단 될 수 있습니다.

관련 문제