How can I copy and paste text on the ios platform?
@hippo,
For just simple strings its:
[UIPasteboard generalPasteboard].string = @"the text to copy";
NSString *whatsOnThePasteboard = [UIPasteboard generalPasteboard].string;
Thank you prime. Is there an easy way to get/set this inside unity?
@hippocoder, nope. it requires a plugin.
Thanks prime, doing it now. Might be a quick addition to ECT2 in the future.
@hippo, I think you are the only one on earth who wants copy/paste in a game
not quite! http://forum.unity3d.com/threads/118983-Copy-Paste wants it as well! But I’ll just share my findings with him.
btw it was completely successful - and live on appstore now - physynth with copy and paste even more exciting, users have begun to share the copy and paste saved text data online ( SoundCloud - Hear the world’s sounds )
hehe… makes me giggle even though Physynth sells like poo. I dunno maybe apple will decide to feature it at some point.
I want it too!
There are less than 2 on earth!
I am not an alien lol
Me too I think unity is used for more than just games btw