AVCamFilter sample showing a blip in the viewfinder on device rotation, when device rotation animation is disabled

Hello,

I noticed a blip in the viewfinder of the AVCamFilter sample (here: https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/avcamfilter_applying_filters_to_a_capture_stream)

when disabling device rotation animation. Only modifications were to viewWillTransition in CameraViewController where I added UIView.setAnimationsEnabled(true) in coordinator.animate() and UIView.setAnimationsEnabled(false) at the end of the function.

Thank you so much for the assistance!

AVCamFilter sample showing a blip in the viewfinder on device rotation, when device rotation animation is disabled
 
 
Q