i have a uitextfield and some text on it, i want to know how to create a code that my user touch the field and can copy the txt to use for something else.
my uitextfiled.enable = no;
thanks
i have a uitextfield and some text on it, i want to know how
Share
As far as the copying goes, you need to check out the UIPasteboard Class. Using that class, you can put text onto the pasteboard very easily.
For not enabling the text field, you can simply leave it disabled, but capture the touch event anyway.
For the pasteboard, try going through this tutorial.