How do you loop AVPlayer in Swift?

后端 未结 8 2017
后悔当初
后悔当初 2020-12-02 15:15

Simple question I can\'t seem to find an answer to for some reason.

How do you loop AVPlayer in Swift?

numberOfLoops = -1 only works for AVAudioPlayer

<
8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 15:47

    Might be a bit late to the conversation, but for the sake of upade (in case anyone comes here again), I found this answer HERE (it's another answer on SO) that worked for me.

提交回复
热议问题