3 ms·
The API to check if the clipboard has contents has existed since iOS 10. > Starting in iOS 10, the UIPasteboard class provides properties for directly checking
by RandallBrown 6y ago
The API to check if the clipboard has contents has existed since iOS 10.
> Starting in iOS 10, the UIPasteboard class provides properties for directly checking whether specific data types are present on a pasteboard, described in Checking for Data Types on a Pasteboard. Use these properties, rather than attempting to read pasteboard data, to avoid causing the system to needlessly attempt to fetch data before it is needed or when the data might not be present.
https://developer.apple.com/documentation/uikit/uipasteboard https://developer.apple.com/documentation/uikit/uipasteboard
- cynix 6y agoThat doesn’t seem to stop the app from checking for, say, string content, and getting access to a copied password.