Apple introduced the text-message preview on lockscreen feature in iOS 5. It was a value addition which helped you see who sent what without having to unlock the screen.
While it’s a useful feature for some, for others it was a visible breach of privacy because not many like personal messages intended for them to spring up (and show up) right on the lockscreen.
So, in order to turn-off text message preview on lockscreen of iPhone, you just have to follow this:
Step 1: Open Settings
Step 2: Tap on Notifications
Step 3: Tap on Messages
I don’t know why a lot of people appear to be lost after upgrading to iOS 6 (may be they forgot the feature when they last turned it off on iOS 5).
The text-message preview feature is one of the few features that actually turned out be used by very few people. Although introduced to be a very useful feature, the lock-screen preview showed a lot of the message which could be a problem for privacy.
We really expected a minor change in the way messages showed up on the lockscreen. If only the name of the person who messages appeared (and not a part of the message along with), I guess many people would take that up. There were iOS 5 jailbreak tweaks which added this functionality.
Below is a video tutorial that will walk you through how to turn-of message previews on lock screen of the iPhone: