cocoa touch - Would the general iPhone pasteboard ever contain more than one item? -
What pasteboard.numberOfItems
(in the code below) will be more than 1? How will this be a user?
UIPPboard * Pasteboard = [UIPPboard General Pasteboard]; Pasteboard. Numberoff item
Note that I'm not asking that a pasteboard item can have more than one representation type.
Update : I understand that programmatically put more than one item in a pasteboard (using the elements of an item, or using an array of items, One dictionary) but can this user use any built-in app? I think someone can easily write an app that puts more than one item in the pasteboard (so my app should be strong, it should handle that situation).
The built-in Photo app allows you to place several photos on the normal pasteboard. Just use the "Share" button, select several photos, and then press "Copy"
In the normal pasteboard, then each picture will be in the form of an item with two representatives: "public.jpeg" And the second representation (text) "public.utf8-plain-text" seems to be a filename, although in this situation the photo always gives "image" and a sequential number (such as, image1.jpg, image2.jpg, etc.) is.
Additionally, users can use a clipboard app (many of which are present in the App Store) to move multiple items in the normal pasteboard. I'm currently building a clipboard sharing app.
Comments
Post a Comment