AVAudioPlayer with external URL to *.m4p

后端 未结 3 427
失恋的感觉
失恋的感觉 2020-12-03 10:52

My Problem is the following. I got this code and i guess a corrupt NSURL since the AVAudioPlayer is nil after initializing:

NSString *dummyURLString = @\"htt         


        
3条回答
  •  隐瞒了意图╮
    2020-12-03 11:40

    AVAudioPlayer only works with local URL's. It must be a File URL (file://)

    See Apple's Technical Q&A QA1634

提交回复
热议问题