On your iPhone go to Settings » Notifications.

Scroll down the list and tap Messages. Then scroll down and select My Contacts Only.

This will restrict any messages that comes from unknown senders. This also works for Photo and Game Center notifications. Comment Name * Email *

Δ  Save my name and email and send me emails as new comments are made to this post.

Make iPhone Display Notification Alerts from Your Contacts Only - 52Make iPhone Display Notification Alerts from Your Contacts Only - 53Make iPhone Display Notification Alerts from Your Contacts Only - 50