The rear camera on my iPhone 15 plus has stopped working ( front is fine) either by showing a black screen or freezing everytime I try to take a photo or zoom out. However, when I ran the diagnostics test the camera worked perfectly and had no black screen or freezing issues, taking the pictures on both rear cameras. This leads me to think it’s a software issue but looking to see if any knows a potential cause or fix?
iPhone 15 Plus, iOS 26.4.2