Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
做起来有多难?我有一个大约 600 个字符的文本,多行。现在我想使用 UIPasteboard 类将该文本复制到剪贴板。我需要实施什么?
只需致电:
// To copy the string myText to the pasteboard: [[UIPasteboard generalPasteboard] setString:myText];