There is no direct way to hide messages in the Messages app on your iPhone. Any messages you send or receive will appear in the Messages app unless you manually delete them.
However, there is a workaround you can use to separate messages you receive from a specific person from the rest of your messages, so they are a little harder to find. To do so, however, you’ll need to remove the details of your contact from the Contacts app.
- Open the Contacts app on your iPhone and find the contact details for the person whose messages you want to hide.
- In the upper-right corner of the screen, select Edit.
- To remove the person’s contact information, scroll to the bottom and select Delete Contact.
- Next, open the Settings app and select Messages.
- Scroll down and toggle Filter Unknown Senders on.
- Open the Messages app and tap Filters at the top of the screen.
- Select Known Senders from the list of options to only display messages from your contacts.
- Any messages from the contact that you deleted won’t appear in this filtered view.
- To see the messages from your unknown senders, tap Filters again and select Unknown Senders.
- Make sure to leave the message filter set to the Known Senders view to keep the messages from your secret contact hidden.