replaceRange:withText:
Replace the text in a document that is in the specified range. (required)
- (void)replaceRange:(UITextRange *)range withText:(NSString *)text
Parameters
range
A range of text in a document.
text
A string to replace the text in range.
Availability Available in iOS 3.2 and later.
See Also
– textInRange:
Declared In UITextInput.h