I'm using this code in a Flex 4.6 mobile project for ipad. It works in the emulator, but on the ipad device, nothing is set. Any suggestions? Can you copy text to the clipboard on iOs?
System.setClipboard('some text');
I'm using this code in a Flex 4.6 mobile project for ipad. It works in the emulator, but on the ipad device, nothing is set. Any suggestions? Can you copy text to the clipboard on iOs?
System.setClipboard('some text');
You should use flash.desktop.Clipboard. For example flexspaces AirClipboardUICommand class
if you use the StageTextInputSkin skin for the TextInput you will get native copy and paste behaivor and if you need something that works like a Label, you can use the same textinput only that u need to extend the StageTextInputSkin class to remove the borders and change the textinput to none editable, hope that help