Go to Settings -> Privacy & Security -> Sensitive Content Warning and toggle off the sensitive content warning feature on your iPhone running iOS 17 (iPhone XS and later).