0

做起来有多难?我有一个大约 600 个字符的文本,多行。现在我想使用 UIPasteboard 类将该文本复制到剪贴板。我需要实施什么?

4

1 回答 1

2

只需致电:

// To copy the string myText to the pasteboard:
[[UIPasteboard generalPasteboard] setString:myText];
于 2010-05-22T12:18:16.527 回答