Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iPhone および iPad のハードウェア ミュート ボタンがオンのときにアプリケーションのサウンドをミュートする方法 ハードウェアのミュート ボタンをオンまたはオフにするたびに、アプリケーションのサウンドがオンまたはオフになることを検出したい
イベントを聞く必要はありません。適切なオーディオ セッション カテゴリを使用するだけです。AVAudioSessionCategoryAmbient または AVAudioSessionCategorySoloAmbient