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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -