Tuesday, July 14, 2020

iOS 14 Pasteboard Notifications

an0:

If you thought the new API -[UIPasteboard detectValuesForPatterns:completionHandler:] on iOS 14 is designed to avoid privacy alerts when accessing pasteboard, no, it is not. It still triggers privacy alerts.

[…]

Testing result in beta 1: even if the pasteboard content doesn’t match the pattern.

I would have expected that with no matches there would be no notification. I guess you are expected to first call the detectPatterns API and then, depending on the result, call detectValues.

Previously:

Comments RSS · Twitter

Leave a Comment