Change AVPlayer source in SwiftUI?

后端 未结 0 430
生来不讨喜
生来不讨喜 2021-02-04 18:55

I have an AVPlayer that plays a video in the background of my SwiftUI app which works fine.

But I need to allow the users to change the video on a button tap/click.

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