AVURLAsset refuses to load video

后端 未结 3 887
情歌与酒
情歌与酒 2020-11-30 04:47

I\'m trying to load a video file into my iPad app as an AVURLAsset, using the asynchronous-loading stuff to wait for it to be ready. Problem is, when I run it,

3条回答
  •  感动是毒
    2020-11-30 05:16

    Solved. The trick: use fileURLWithPath:, not URLWithString:. Apparently the difference is really, really significant.

提交回复
热议问题