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.
現在、アラートビューが表示されたときに単純なbeep.mp3ファイルを再生しています。avaudioplayerを使用しており、アラートが消えるまでビープ音を鳴らすように無期限ループを設定しています.今度は、ユーザーがアラートを閉じるまで、アラートビューがビープ音で表示されたときに継続的に振動させたい.これを行うにはどうすればよいですか?
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
( iPhoneデベロッパーセンターへのリンク)