Home > Default > Placing Text into the iOS's Clipboard

Placing Text into the iOS's Clipboard

November 30Hits:0
Advertisement
I'd like to be able to copy some text to the iPad clipboard in my app, exit the app, and then paste the copied text into the Native iPad "Notes" application. I can't seem to get my copied text into the iPad's system clipboard though. It doesn't seem to carry over after I exit my app (or maybe it is neveer getting there in the first place, can't tell).
I've tried this:
System.setClipboard(myData);
And this:
Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, myData);
Any suggestions?

Answers

I don't have any specific experience with doing this in PFI, but in the Flash Player plugin, don't these calls have to take place in the event handler of a user event like click or key press?  Did you try calling it from an event handler?

Read other 3 answers

Tags:

Related Articles

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.705 s.