ARC環境下でAVAudioPlayerを使い柔軟かつシンプルにサウンドを再生する方法 ARC環境下では、以下のコードでサウンドは再生されません。 - (void)playSound{ NSString *soundPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"hogeh

kasumanikasumani のブックマーク 2014/12/08 06:21

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

ARC環境下でAVAudioPlayerを使い柔軟かつシンプルにサウンドを再生する方法 - Qiita

    - (void)playSound{ NSString *soundPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"hogehoge.mp3"; NSURL *urlOfSound = [NSURL fileURLWithPath:soundPath]; AVAudioPlayer* pl...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう