How to Block Texts on an iPhone

Before iOS 7, the iPhone didn't support blocking texts from spammers, exes and other unwanted contacts. Even apps couldn't perform the job, short of a few tweaks that required jailbreaking. On an updated phone, however, the feature is built into the system, so there's no need to break your warranty or buy a new app -- just pick someone from your messages or contacts to block.

...
Contacts won't know if you block their texts, but blocked iMessages won't appear as delivered.
credit: Image courtesy of Apple

Block an Unfamiliar Number

Step

Open any message from the number you want to block in the Messages app on iOS 8, and tap Details.

...
It doesn't matter which message you open from the number.
credit: Image courtesy of Apple
...
For unfamiliar numbers, the info page won't have any personal info.
credit: Image courtesy of Apple

Step

Press the i button to see the texter's info page.

...
Blocking a caller won't erase existing texts.
credit: Image courtesy of Apple

Step

Scroll to the bottom of the page, tap Block This Caller and choose Block Contact to confirm.

Block a Contact

Step

Open the Messages section of the Settings app and tap Blocked.

...
You can also find the Blocked button in the Phone and FaceTime sections.
credit: Image courtesy of Apple
...
Repeat this step to add multiple contacts.
credit: Image courtesy of Apple

Step

Tap Add New to pick a contact from your contact list. Picking a contact adds all of the contact's phone numbers and email addresses to your blocked list.

...
Alternatively, tap Edit if you want to quickly remove multiple entries.
credit: Image courtesy of Apple

Step

Swipe from right to left along any individual entries you want to remove, and press Unblock. You can remove one phone number or email address from the list while leaving the others blocked, even if they all come from the same contact.