In iPhone/iPad UITextview shows slider on the right side of the display only when we tap on it. So the user is not able to know that the text is scrollable. For this reason clients sometimes demand that we use a vertical slider to show that the text is scrollable.

One approach is to create a nib file that represents vertical slider view (with a view controller class ) and add it as a subview in the main view controller class. But I have a simpler approach that uses UISlider and makes it behave as a vertical slider.”

Let us create myController.h and myController.m. And nib file be myController.xib,then add UITextview to the xib and add text to its text property so that it can be scrollable.

Now,implement vertical slider in it as:

—First go to Tools>> Library and drag the UISlider on the view and place it to the right of UITextView.