3 ms·
iOS differentiates between this since iOS 10: https://developer.apple.com/documentation/uikit/uipasteboard/1829416-hasstrings https://developer.apple.com/docum
by selsta 6y ago
iOS differentiates between this since iOS 10:
https://developer.apple.com/documentation/uikit/uipasteboard/1829416-hasstrings https://developer.apple.com/documentation/uikit/uipasteboard...
Also iOS 14 has new clipboard related APIs to further check the content without actually accessing it.
- BoorishBears 6y agoIf iOS 14 adds new APIs to check, then I wouldn't be surprised if the codepath hasStrings uses triggers the warning The purpose of hasStrings was performance not indicating intent, so that wouldn't be surprising