Most results for this search are about hacking, which is a different problem. This page is about someone who picked up your unlocked iPhone or knows your passcode. There's no "who opened my phone" screen, but there are signs:
6 signs on the iPhone itself
- Screen Time: in Settings > Screen Time > Daily Average, tap Day to see the apps used, time in each and the Pickups and Notifications report (Apple). Use you don't recognize is a sign.
- Recently opened apps: swipe up from the bottom and pause (or double-press the Home button) to see the app switcher.
- Deleted photos: in Photos, Collections > Recently Deleted keeps deleted items for 30 days (Apple).
- Messages marked as read that you never opened, in WhatsApp or Messages.
- Safari history with sites you didn't visit.
- An extra face or fingerprint: in Settings > Face ID & Passcode, check for an Alternate Appearance or fingerprints you didn't add.
How to know when someone touched your iPhone
Those signs say someone used it, not when or how. For that, the phone has to be on guard beforehand. WTMP does that: you arm it and leave the iPhone on the desk or in your pocket. If someone picks it up, unplugs it, pulls it out of your pocket or cuts the network, a loud alarm goes off and the attempt is logged with the exact time and the trigger. Stopping the siren takes your passcode, and wrong guesses are logged too.
How to keep it from happening again
- Change your iPhone passcode if someone saw you type it.
- Lock sensitive apps with Require Face ID: see how to lock apps on iPhone.
- Make locked apps Face ID only: see hiding apps from someone who knows your passcode.