Apple aims to make it possible to prove that a photo was taken on your iPhone and, presumably, not subsequently altered.

The rear cameras of a Pro-tier iPhone
The latest developer beta of iOS 27 has an unusual number of new features for this late in the process, but code references say there’s more to come. Apple has a forthcoming feature called Apple Reference Image, and it’s aimed at authenticating photos.
Under the right circumstances, it would be possible to demonstrate that a specific image was really taken by the iPhone’s camera. The idea being that it therefore is not an AI-generated image.