Company Apple along with the advent of the operating system iOS 17 also introduced other features to protect not only minor iPhone owners. The Screen Time feature in iOS 17 has a new option for automatically blurring photos, which iPhone will be evaluated as potentially inappropriate.
It could be interest you

This feature not only protects children, but is also a welcome improvement for those who often receive inappropriate content in their messages. The mentioned blurring of images is not permanent - after receiving a potentially inappropriate photo or video, the system will inform you of this fact in an understandable way, and if you still want to view the photo, you will have to confirm your decision several times.
If you want to use your iPhone with iOS 17 and later, follow the instructions below to activate the sensitive content warning.
- On iPhone, run Settings.
- Click on Screen time.
- In the section Communication click on Secure communication.
- Activate items Secure communication a Improving secure communication.
When the function is on, it can iOS uses machine learning on the device to detect sensitive photos and videos before they are displayed. The Messages app automatically blurs them and requires users to make a conscious decision to view the material. All data processing for the detection feature occurs locally on the user's device. The company Apple won't know who sent you sensitive content or specifics about the content, only that the algorithms on the device detected content that may be related to nudity.