3 ms·
Funny enough, Safari just opened up clipboard access via the async clipboard API: https://webkit.org/blog/10855/async-clipboard-api/ https://webkit.org/blog/108
by Me1000 6y ago
Funny enough, Safari just opened up clipboard access via the async clipboard API: https://webkit.org/blog/10855/async-clipboard-api/ https://webkit.org/blog/10855/async-clipboard-api/
It does require a user initiated event to work, but then you can access the user's clipboard with:
`await navigator.clipboard.read();`
There are some additional restrictions though (you can read them in the first link) which it might make sense for iOS as a whole to adopt.