How to do copy/paste function programmatically in iphone?
<p>Ha ii everybody,i have a textview with some text and a copy button in that view,when the user enter some text and press the copy button it needs to copy that text and paste that text wherever he wants.I know there is a default copy/paste menu-controller in ios,but i want to do this functionality in a button click.I think there is uipasteboard to do this functionality,but i don't know how to use it,so please help me to do this.
Thanks in advance.</p>
