Is Apple enabling phishing attacks through theft of iOS clipboard data? How to prevent? [duplicate]
Solution 1:
iOS supports not only the general clipboard (technically, the general UIPasteBoard), but also named UIPasteBoards.
As the Apple docs explain named UIPasteBoards:
You can create named pasteboards with the class methods init(name:create:) and withUniqueName() for sharing data within your app and from your app to other apps that have the same Team ID.
From what I know, apps that want to better protect data that users may have pasted into the clipboard, would use named UIPasteBoards rather than the general one, to prevent the kind of stealing you were asking about.
Theoretically, on a jailbroken device, other apps may still be able to gain access to your app's named UIPasteBoard, so the app may want to implement other measures like encrypting data before transferring it to the named UIPasteBoard.
TLDR: Apple does support a feature, namely, named UIPasteBoards, to help prevent stealing of clipboard data, but leaves it to app developers to use this feature on an app by app basis.