generalPasteboard, search the source code or the compiled binary for this method. Using the systemwide general pasteboard should be avoided when dealing with sensitive data.
generalPasteboardfor the system-wide general pasteboard.
pasteboardWithUniqueNamefor custom pasteboards.
pasteboardWithName:create:and inspecting its input parameters or
pasteboardWithUniqueNameand inspecting its return value.
containsPasteboardTypes:inItemSet:. You may inspect for more concrete data types like, for example an picture as public.png and public.tiff (UTIs) or for custom data such as com.mycompany.myapp.mytype. Remember that, in this case, only those apps that declare knowledge of the type are able to understand the data written to the pasteboard. Retrieve them using
itemSetWithPasteboardTypes:and setting the corresponding UTIs.
setItems:options:and inspecting its options for
ios pasteboard monitor:
Hooks into the iOS UIPasteboard class and polls the generalPasteboard every 5 seconds for data. If new data is found, different from the previous poll, that data will be dumped to screen.