uitextviewdelegate
Weird UITextView behavior
I have a UITextView which i create in the code: myView = [[UITextView alloc] initWithFrame:CGRectMake(10,5,220,50)];[详细]
2023-04-12 19:42 分类:问答How to update UILabel that is a subview of inputView?
I have UITextView where user types a text. When the keyboard is shown, I add inputView with UIlabel on it. I want this UIlabel to hold character length of the text. It seems very easy task, but unfort[详细]
2023-03-10 04:28 分类:问答iPhone: Is it safe to call textViewDidChange?
I\'m 开发者_开发百科looking at code in a UIViewController that conforms to the UITextViewDelegate protocol and has an instance variable called someTextView.[详细]
2023-03-08 03:51 分类:问答How to know the pressed key in the keyboard in iPhone
I am new to iPhone. I\'d like to know the key pressed in the keyboard, and instead of the letter of the key I\'d like to insert another letter in UITextView.[详细]
2023-03-07 16:02 分类:问答UITextViewDelegate behaviour when backspace key is HELD Down
I\'ve run into a problem where iOS is giving my UITextViewDelegate incorrect information when the delete key is held on the keyboard.[详细]
2023-03-06 05:19 分类:问答UITextView doesn't show InputAccessoryView on first click
I use the UI开发者_运维知识库TextViewDelegate and add a InputAccessoryView in textViewDidBeginEditing:[详细]
2023-03-01 13:36 分类:问答UIScrollView scrolling to bottom when UITextField text changes
As it is set up now, I have two UITextViews inside of a UIScrollView. The point of this is that the UITextViews themselves don\'t scroll, they just get larger (their contentsize) as more text is added[详细]
2023-02-11 20:13 分类:问答Application crashes with UITextViewDelegate
I\'m new to iPhone programming and Objective-C and am having some trouble with my UITextView. I have a view with a text view as its subview. I created a separate class which I want to be the delgate o[详细]
2023-01-13 08:20 分类:问答How to use UIKeyboardWillShowNotification
I want to create a ChatView exactly like iPhone\'s texting app (Messages). I\'m doing it programmatically and am trying to move the textView up with the keyboard. I want to do this in a function开发者[详细]
2023-01-08 08:35 分类:问答iOS4: Can't Programmatically Scroll to Bottom of UITextView
Before I was using this method.... //TextView is a UITextView [TextView scrollRangeToVisible:NSMakeRange([TextView length], 0)];[详细]
2023-01-05 09:47 分类:问答