AVPlayer on Swift app shows a black screen but plays audio when playing video

后端 未结 0 1996
情话喂你
情话喂你 2020-12-11 01:05

New to Swift! I am trying to have the app play a video from my Resources upon pressing a button. I have this method in my ViewController:

if let path = Bundle         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题