Black screen after splash screen iOS

I have been developing a 2d game in unity. The screen goes all black after the splash screen or when loading it after minimising, but both are inconsistent. I am trying it on iPhone 8 and found the issue after updating to iOS 13. I tried changing the Camera → Clear Flags → depth only, for all screens as per other solutions in the community, but it is not working for me. Could anyone help me to fix the issue.

What do you mean by splash screen in ios 13?

If you have set Application.targetFrameRate = 100000 (or some magic numbers)

Fix it to be 300 or below,If you have set Application.targetFrameRate = 1000000000 (or some magic number)

Fix it to be 300 or below