Unable to play MP4 video file from mainBundle

前端 未结 7 595
挽巷
挽巷 2020-12-15 05:13

So I\'m trying to play a simple intro animation video file that I\'ve dragged into my project in XCode and therefore should be able to play from my mainBundle, right?

<
7条回答
  •  盖世英雄少女心
    2020-12-15 05:35

    This means your code can't find your introvideo.mp4 file. Make sure you have successfully add that file to your bundle. You can check in your project's setting: Copy Bundle Resource. enter image description here

提交回复
热议问题