How to make scrollbar can scroll in UITextView in iOS? -


I have a very large text to show in UITextView .

My case I want to scroll with UITextView's scrollbar touch.

In UITextView , I can only scroll with the basic scroll feature.

I want to scroll UITextView with the scrollbar which is present on the right side of the UITextView like the browser but I can not scroll it.

In Mac, we can scroll in the same way with the scrollbar.

Enter image details here

How can I do this Am I required to have a custom control?

Try this code.

  UITextView * textView = [[UITextView alloc] init]; TextView.scrollEnabled = Yes;   

Hope this will help you.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -