i want to implement Code by which i can start to insert text at any position of cursor in UITextView in iphone sdk
any idea? thank you in advance..
i refereed th
Here is the Glorfindel's answer in Swift3. The text its inserting here it pulls out of the clipboard.
if let textRange = myTextView.selectedTextRange { myTextView.replace(textRange, withText:UIPasteboard.general.string!) }