I have an iPhone 13 which I purchased completely new from apple in July. There is a problem with my camera app. When I try taking pictures in portrait mode in outdoors conditions, I am able to capture a couple of shots beautifully but after a few shots, when I click the camera shutter again, the screen goes completely black with no icons showing and a few seconds later the app crashes and I’m back on my home screen and the photo that I captured is also not saved. I’m not spamming the camera button and waiting patiently for the portrait mode photo to be processed and saved before continuing to capture the next shot. The screen becomes unresponsive for the time and I have to lock my phone and unlock it again for it to work sometimes but usually it comes back to the home screen by itself. I started noticing this issue since iOS 17 and I have updated to the latest version of iOS 17.1.2 and the issue still persists. And also, the phone starts to heat up whenever this glitch happens.
Is there any fix for this that I can apply?
Thanks in advance!