Inserting text in UITextView without scrolling animation
Inserting text in UITextView without scrolling animation
- Subject: Inserting text in UITextView without scrolling animation
- From: Ignacio Enriquez <email@hidden>
- Date: Fri, 3 Apr 2009 22:55:27 +0900
Hi
I hope this is the right place for this question.
I am trying to implement a customized Keyboard using UIView,
UIButtons, and UITextViewDelegate methods for getting the actual
location of the cursor inside of a UITextView object.
Everything goes great until the input text becomes so big that it has
to be scrolled.
The problem is that every time the hole text is actually replaced and
is scrolled (with animation) until the position it was before. And
when making several character inputs the text scrolls with such a
frecuency that is looks like it is trembling or is been shacked.
I think a solution would be to find a way to set the new text without
animation. or maybe not replacing he hole text, just inserting the new
character in the present text. Though I think the last one is
impossible since text property is "copy"
@property(nonatomic, copy) NSString *text
Is there any way I can achieve setting a new text without scrolling
animation? (just scroll would be great.)
Thanks in Advance.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden