How do you copy text to the clipboard in xcode? Currently, I am using the following code:
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
[pasteboard setString:shareString];
When I try to paste this into another one of the simulator apps, I end up pasting the entire view controller code. ??? Thanks in advance!