开发者

Easy way to copy multiline text to the clipboard?

How hard is it to do? I have a text with about 600 characters, multiple lines. Now I want to copy that text to the clipboar开发者_C百科d using the UIPasteboard classes. What would I need to implement?


Just call:

// To copy the string myText to the pasteboard:
[[UIPasteboard generalPasteboard] setString:myText];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜