UITextView custom input (No keyboard) iOS

I am using an UITextView where I append input text based on custom buttons (No keyboard). It all works fine except that when the text exceeds to a new line, the UITextField crops text instead of scrolling down to the new line (as happens when you input text with the system keyboard)..

How can I fix this behavior?


You have to scroll the text view yourself as the length of the text increases - I imagine the system keyboard does this itself too.

The relevant method is scrollRangeToVisible:. The range argument should be the end of the text you have just inserted into the text view.

Need Your Help

Open Source VB6 applications

open-source vb6 sample

I'm not 100% percent sure that this is a programming related question, but here it goes.

Increase performance of WPF controls loading resources

c# .net wpf wpf-controls devexpress

I currently use DevExpress controls heavily in an application. The controls are great and speed-up development time dramatically (and hence, I wouldn't want to ditch them) however, I have a few iss...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.