Questions tagged [generalpasteboard]

7 questions
13
votes
1 answer

Receiving UIPasteboard (generalPasteboard) notification while in the background

In there a way to do this? I register my object for UIPasteboardChangedNotification at launch time, but when sending it to the background and opening (for instance) Safari and copying some text, my handler never gets called. (I'm using just the…
NuBie
  • 151
  • 1
  • 5
5
votes
1 answer

UIPasteboard (generalPasteboard) items lifetime

How much time do items live in general pasteboard? Apple's documentation says: The general pasteboard is persistent across device restarts and app uninstalls. What I have: Two (or more) apps signed with profiles with different team IDs; Apps have…
Alex Maimescu
  • 230
  • 2
  • 8
3
votes
3 answers

Would the general iPhone pasteboard ever contain more than one item?

Would pasteboard.numberOfItems (in the code below) ever be greater than 1? How would the user cause this to happen? UIPasteboard *pasteBoard = [UIPasteboard generalPasteboard]; pasteBoard.numberOfItems Note that I'm not asking if a single…
Daryl Spitzer
  • 143,156
  • 76
  • 154
  • 173
2
votes
1 answer

Pasteboard UIImage not using scale

I am building a custom keyboard and am having trouble adding an image to the pasteboard and maintaining the appropriate scale and resolution with in the pasted image. Let me start with a screenshot of the keyboard to illustrate my trouble: So the…
mgeno
  • 191
  • 3
  • 13
2
votes
1 answer

How can I read data from the general pasteboard for all classes?

At the moment I'm using readObjectsForClasses: to retrieve a list of objects from the general pasteboard in cocoa, which works whenever I want to only retrieve objects of a certain class e.g. NSString or NSImage etc. However, I would like to be able…
Luke
  • 4,908
  • 1
  • 37
  • 59
1
vote
1 answer

Copying audio into general UIPasteboard

I am implementing Audio Copy feature in my audio synthesis app using the general UIPasteboard so that the audio that was copied can be pasted in MAPI: AudioCopy/AudioPaste or Intua Audio Sharing enabled apps. There seems to be a problem in the…
0
votes
1 answer

Get copied data from UIPasteboard

i have copied image from UIwebView using clipboard and i want to mail it.For this,I use general pasteboard to get data,but there is a problem in retrieving data.When i check the pasteboard current data,it says the it has Apple Web Archive pasteboard…
Farhan
  • 67
  • 2
  • 6