I tried this example for video record and get the following error:
It seems to be good for playing, but how can I record now video or audio?
In this post you explain, that Apple has deprecated the API that VideoView was based onMPMoviePlayerController is no longer available. Use AVPlayerViewController in AVKit.
It seems to be good for playing, but how can I record now video or audio?