Copy / Paste

Paste from clipboard (copied by any other App) any way to do that? I guess not… right?

Yeah it works fine. I posted code to do this here: http://forum.unity3d.com/threads/117359-Trying-to-make-my-own-copy-paste-text-plugin-for-iOS-code-included-nothing-happen Physynth 2.0 out now does it. It lets to copy to and from the clipboard. You are responsible for making sure it is actually text though and you will need to alter xcode for it.

Ignore my babbling about a bug. there’s nothing wrong with that code, it was a bug somewhere else in my app :slight_smile: I hope you will find it useful.

Be sure to filter the result - remember iOS pasteboard can contain any kind of data. The code I posted checks to ensure it is a string, but you must verify for your own kind of data before you pass it back to unity (just to be sure you do not try to pass 500 meg of video to unity if a user copies such a thing accidentially :smile:)

You do not need unity pro for iOS plugins.

Some dude also pasted the output from my app on soundcloud: SoundCloud - Hear the world’s sounds (see the soundscape export link) so I know it is working for everyone with this technique and all versions of iOS.

Oh great. Thanks.

Great work! In case someone needs copt/paste feature on other platforms, I just posted a cross-platform solution for this. See it here in Asset Store, which could support iOS, Android, WP and some desktop platforms. It exposes the same API for all, and I hope it could make your life easier.

I have been searching for a year on how to do this but with images. i have a menu of sprites and i want to be able to copy them and paste them in other apps using ios. unipasteboard seems really cool but it is only for text does someone know how to help me with this? ive been trying forever.

ive successfully created copy/paste text but not ui images.

2017 and still no copy/paste images…

1 Like

Why don’t you write a support email to the developer who did this solution and ask if it is possible to add images?

1 Like