Hello hassaniqbal40,
Ensuring the camera focuses in all apps is important. While the camera is working as expected in the Camera app, the steps listed below can be helpful in resolving the issue you're facing in third-party apps. You can also find these steps outlined in the following article.
- "If the photo is blurry, clean the front and back camera lenses with a microfibre cloth. If you see dirt or debris inside the lens or if the camera lens appears to be misaligned or blocked, contact Apple Support to discuss service options.
- Restart your iPhone, iPad or iPod touch.
- Test the camera again by taking a photo. If your device has a front and a rear camera, check if one or both aren’t working. To switch cameras, tap the rotate button ."
If the camera or flash on your iPhone, iPad or iPod touch aren't working
In addition to those steps, troubleshooting the third-party apps as well can be helpful. While the title of the following article references app quitting or closing unexpectedly, these steps can resolve many other app related issues. Complete these steps as well, and let us know how that goes.
If an app on your iPhone or iPad stops responding, closes unexpectedly, or won’t open
Have a great day!