diff --git a/clipboard/ios/Plugin/Clipboard.swift b/clipboard/ios/Plugin/Clipboard.swift index 45c80cb3d..0f328cde3 100644 --- a/clipboard/ios/Plugin/Clipboard.swift +++ b/clipboard/ios/Plugin/Clipboard.swift @@ -46,9 +46,9 @@ public class Clipboard { } func read() -> [String: Any] { - if let stringValue = UIPasteboard.general.string { + if let strings = UIPasteboard.general.strings { return [ - "value": stringValue, + "value": strings.joined(separator: "\n"), "type": "text/plain" ] }