not like before,iOS14 show “noteworthy float window” when getting data from Pasteboard。
It‘s OK to notify user that the app is reading Pasteboard.
iOS14 add new APIs to detect Pasteboard content without showing “noteworthy float window”
detectPatternsForPatterns:completionHandler:
detectPatternsForPatterns:inItemSet:completionHandler:
but these api only detect simple URL pattern which seems little value or interest for developer;
why not making these apis support Regular Expressions detecting。
if so,app can detect what it really need before read,
means less Pasteboard reading,
means less “noteworthy float window” showing,
means better user experience。