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.
重複の可能性: iOS アプリはデバイスをサイレント モードに切り替えることができますか?
私はiPhoneアプリ開発を始めたばかりで、iPhoneを着信音とアラート音用にサイレントモードにしたいと考えています。アプリ「 AutoSilent」 で見たので可能です
アプリのサンドボックスの外部に影響を与えるため、このためのパブリックAPIはありません。
iOSの一部のバージョンにはバグがあると報告されており、アプリが特定の方法でサウンドを再生すると、アラートトーンがブロックされる可能性があります。