I want to know what code I have to write under and IB action button so that when i click the button that is called copy, it will copy the text in a specified text view, and
Look into UIPasteboard Class Reference.
-(IBAction)copyText { [[UIPasteboard generalPasteboard] setString:myTextView.text]; }
myTextView2.text = [[UIPasteboard generalPasteboard] string];