After checking privacy in iOS 16 features to look for. I noticed that the application needs to ask the user's permission for accessing the clipboard. Please check the following image
.
I tried figuring out what permission key we need to use, to request permission but so far I have not found any details. I checked video and transcript and other developer documentation. Like privacy key list . But couldn't find any documentation related to this.
This permission prompt is generated whenever your app accesses the pasteboard directly, that is, not going through the Paste menu command, the keyboard shortcut, or UIPasteControl
. You don’t need to add an Info.plist
key to get that behaviour.
For all the details, watch WWDC 2022 Session 10096 What’s new in privacy, starting around the 9:24 mark.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"