During WWDC 2020, Apple announced a feature in iOS 14, which alerts the user, if an app reads from the clipboard. This has caused a lot of problems and bad PR since, so I would suggest we implement the contains(pasteboard) API here.
It basically just checks the clipboard for a type of data, without that pesky notification.
Describe the Feature
During WWDC 2020, Apple announced a feature in iOS 14, which alerts the user, if an app reads from the clipboard. This has caused a lot of problems and bad PR since, so I would suggest we implement the contains(pasteboard) API here.
It basically just checks the clipboard for a type of data, without that pesky notification.
9to5Mac article
Possible Implementations
The hardest thing about this would be the port, we could name the functions similarly.
E.g.:
or
Related Issues
56
Edit:
Clipboard.hasString()
has been implemented in #73Clipboard.hasURL()
has been implemented in #78Waiting for
Clipboard.hasBool()
Clipboard.hasImage()
?