iPhone simulator plays video, real device won't

前端 未结 4 620
伪装坚强ぢ
伪装坚强ぢ 2021-01-22 10:00

I am building an app in Swift on Xcode 7.2

I added a video to my ViewController. Here\'s the code:

import UIKit
import AVKit
import AVFoundation

class G         


        
4条回答
  •  长情又很酷
    2021-01-22 10:24

    I might be reading this wrong, but you appear to be using a file located on your computer?

提交回复
热议问题