pop launch the Messages app on your iPhone.
Hit the"Info" button on the following screen.
Select “Block Caller.”
Yash Wate / How-To Geek
Finally, confirm blocking the number or contact by tapping “Block Contact.”
Once you block someone, you won’t receive any texts from them on your iPhone in the future.
In addition to blocking text messages, this will also block phone and FaceTime calls from the blocked number.
This method is easy when you want to prevent messages from a saved contact on your iPhone.
Then, navigate to “Blocked Contacts.”
However, these aren’t as helpful if you receive texts from too many unknown numbers.
Thankfully, iOS comes with a built-in message-filtering feature to help you filter out such messages.
This can limit the number of distractions on your iPhone.
To enable message filtering, open prefs on your iPhone and go to “Messages.”
Scroll down to the “Message Filtering” section, and tap on “Unknown & Spam.”
Toggle “Filter Unknown Senders” on and set “SMS Filter” as the default filter.
It’s also becoming increasingly common on internet messaging apps like WhatsApp, Signal, and more.
Thankfully, a lot of these apps let you block people to avoid receiving calls or texts from them.
We’ll show you how to block a contact on WhatsApp for reference.
On WhatsApp, kick off the chat from the contact or phone number you want to block.
Tap the contact name or phone number at the top of the screen to access their profile.
Scroll down to the bottom of the page to locate the “Block” option.