Getting a white screen when I navigate to recording a video by AVCaptureVideoPreviewLayer
I am trying to create a video recording app with SwiftUI. When I navigate to the VideoRecordingView I see a white screen. But when I press the record button the video is being recorded I just do not see it. and it is also successfully saved.
Getting a white screen when I navigate to recording a video by AVCaptureVideoPreviewLayer
I am trying to create a video recording app with SwiftUI. When I navigate to the VideoRecordingView I see a white screen. But when I press the record button the video is being recorded I just do not see it. and it is also successfully saved.
Video Rendering Not Smooth In ScrollView
I have a basic SwiftUI scroll view that houses many videos. When I take out the red color inside the video player the scroll view is very smooth and I can swipe down and up as fast as I can without any glitches. However, when I add the red color and swipe down and then swipe up the scroll view glitches as the videos render once again. How can I fix this glitch? Also apps such as Instagram or Twitter have videos already rendered right when they appear, and scrolling away and coming back will not cause them to re-render. How can I achieve such behavior? Doing this might fix the glitch when the videos render.