I want my app to play a video and then go to my initial interaction page. I’m using xcode and so far I got it to play the video but it finishes the video and doesn’t do nothing afterwards. It stays there, as if I hadn’t told him to do anything after. Please help me
Welcome to the code crew community.
This thread may help you out. There is a method you can use close AVPlayer wihen the movie is complete and in doing so you can set up a call to dismiss the ViewContoller and return to the previous ViewController where you launched the video.