Questions tagged [pasteboard]

53 questions
0
votes
1 answer

iphone sdk - problem pasting into current text location

I'm trying to paste text right into where the cursor currently is. I have been trying to do what it says at: - http://dev.ragfield.com/2009/09/insert-text-at-current-cursor-location.html The main deal is that I can't just go textbox1.text (etc)…
oberbaum
  • 2,451
  • 7
  • 36
  • 52
0
votes
0 answers

iOS Named pasteboard not found on actual device

I've got a problem with my inter-app communication on iPad which (up to recently) has been working. I'm using standard pasteboard code as found in http://enharmonichq.com/sharing-data-locally-between-ios-apps/ which is an excellent tutorial and…
Fittoburst
  • 2,215
  • 2
  • 21
  • 33
0
votes
1 answer

Copy UIImage to clipboard on tap

I've got a UICollectionView which displays as many cells as the amount of images passed through. I want to make it so that when you tap an image, it copies that image to the clipboard. Any help would be greatly appreciated. -(UICollectionViewCell…
0
votes
1 answer

Pasteboard not accessible when locked with passcode on iOS

I have noticed I cannot access the Pasteboard in iOS whenever my device is locked with passcode. I know there was a restriction regarding keychain, but not sure why its affecting pasteboard as well. Is this a known issue or purposeful restriction?
Locksleyu
  • 5,192
  • 8
  • 52
  • 77
0
votes
0 answers

UIPasteboard's string value is nil when iphone recovered from sleep mode

After recovering from sleep mode (tap sleep/wake button and then tap home button), I tried to get pasteboard string with the code blow and the result was nil. UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; self.beforeValue =…
morizotter
  • 1,926
  • 2
  • 24
  • 34
0
votes
2 answers

Are there some interface on operations in Core Fundation? not Cocoa

I'm trying to work on carbon to cocoa. There are some carbon apis that about getting & setting value on clipboard. All of them are in C/C++ files. I searched many answers in the internet and apple developer website, all of them had suggest me that…
Itachi
  • 5,777
  • 2
  • 37
  • 69
0
votes
1 answer

How can I copy an eps file to clipboard/pasteboard?

My program creates adobe ai or (eps) file and I want to copy it to pasteboard. I copied sample ai object in adobe illustrator and Inspect pasteboard by "pasteboard inspector": My code is below but copy nothing to pasteboard: void copyEPS(CFDataRef…
mh taqia
  • 3,506
  • 1
  • 24
  • 35
-1
votes
1 answer

Copy UITextView to PasteBoard

I'm trying to copy my "DescriptionLabel" to the Pasteboard. DescriptionLabel is set as a UITextView (I know the name is a little confusing...). Anyway, - (IBAction)copy:(id)sender { UIPasteboard *appPasteBoard = [UIPasteboard…
1 2 3
4