got the same problem and after restarting the phone I got a warning message saying the camera is not genuine. It is a IPhone 12 pro max that has never been repaired. i just updated my ios 16.2 its still the same. pls help me if you have any idea to resolve this