Hacker News new | ask | show | jobs
by luckylion 2106 days ago
> iOS now tells you when one app pastes content from the clipboard, if the contents of the clipboard came from another app.

Does it do that for all apps, or only non-Apple-apps?

4 comments

You'd expect first-party apps to handle this properly. The intention is that you probe the clipboard metadata (which doesn't display this warning) to see if the clipboard looks like it might be useful to you - and then act (or offer to act) if it does.

So first-party apps should have bought into the data-detectors stuff wholesale.

An example of this would be the url bar in Safari. If you try to paste into the address bar, you'll be offered "Paste and go" if the clipboard offers a url-like object, and "Paste and search" if it's a non-url stringy object. You'll get the "Safari has pasted from Mail" warning after you select one of these, because the contents were not exposed during the metadata operations. This is the expected behaviour.

Just tried it on iPadOS 14, and yes, "Messages pasted from Safari."
Definitely also includes Apple’s apps, I’ve just tested copying in Safari and pasting into Notes.
All, including Apples built-in apps. It tells you where the data was copied from and which app it was pasted to.