I'm trying to figure out how to access the video layer so I can do some animation on it.
The doc says playerLayer is the layer. but how do I use this in my code?
I've tried this and it does work:
let playerLayer = VideoBackground()
and
let playerLayer = AVPlayerLayer()
any help would be appreciated.
I'm trying to figure out how to access the video layer so I can do some animation on it.
The doc says playerLayer is the layer. but how do I use this in my code?
I've tried this and it does work:
let playerLayer = VideoBackground()and
let playerLayer = AVPlayerLayer()any help would be appreciated.