Questions tagged [uipasteboard]

UIPasteboard is used to store different types of data into iOS clipboard. We can store data of NSString, NSArray, UIImage, NSUrl, NSData into it and can retrieve the data into that particular format too.

263 questions
0
votes
1 answer

ios get clipboard generalPasteboard full history

Is this possible in iOS to get full history of clipboard ... Means get whatever user copied on clipboard, full log of content.. I know we can get last content from [UIPasteboard generalPasteboard] but is there way to get full log or previous content…
dev_m
  • 796
  • 6
  • 12
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
0
votes
1 answer

UIPasteboard not giving option, what to paste if it is having more than one Strings

I had put more than one strings to UIPasteboard, but while pasting on UITextField it is pasting only first one, can any one tell me how can i paste all others i am coping from first Application and pasting in other application. var…
Abhishek
  • 267
  • 2
  • 11
0
votes
2 answers

How to get the gif which copied from safari from UIPasteboard

I am trying to get the copied gif from UIPasteboard, but what's the pasteboard type going to be? The com.compuserve.gif or kUTTypeGIF. Should I use - valueForPasteboardType: or just use image property to get the gif?
yong ho
  • 3,892
  • 9
  • 40
  • 81
0
votes
1 answer

Easy way to copy multiline text to the clipboard?

How hard is it to do? I have a text with about 600 characters, multiple lines. Now I want to copy that text to the clipboard using the UIPasteboard classes. What would I need to implement?
dontWatchMyProfile
  • 45,440
  • 50
  • 177
  • 260
0
votes
2 answers

UIPasteboard: NSString refuses to copy to clipboard

I have the following code to shorten a URL using the bit.ly API. NSString *shortenedURL = [NSString stringWithContentsOfURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://api.bit.ly/v3/shorten?login=%@&apikey=%@&longUrl=%@&format=txt",…
iPwnTech
  • 545
  • 2
  • 5
  • 20
0
votes
1 answer

Getting NSRange from Subclassed UIPasteboard Selection

I am wondering if there is some way to subclass UIPasteboard in order to get the selection behavior, but not get the "Cut, Copy, and Paste" options. In addition to this, is there some notification I can subscribe to that returns the NSRange of the…
individualtermite
  • 3,615
  • 16
  • 49
  • 78
0
votes
1 answer

UIPastboard is not working in iOS 7?

I am working on a iOS application in which I have to share some data between two applications and I am using UIPastboard and data is sharing successfully in iOS below 7.0 but not working in iOS 7. Here is the code I am using: // Code for writing…
ajeet sharma
  • 803
  • 10
  • 37
0
votes
0 answers

Is iOS UIPasteboard secure?

I want to know some questions about UIPasteboard. Is UIPasteboard is secure? means if we save any sensitive / Confidential information in UIPasteboard and want to access that data in only two iOS applications, no other application must have…
ajeet sharma
  • 803
  • 10
  • 37
0
votes
1 answer

How can force copy selected text ? [iPhone]

Hi~ I have one question. ^^ How can i get "selected text" on UIWebView (or UITextView) ? I'd like to copy "selected text" without copy/paste popup-view. 1) i removed ... copy/paste view. ( it was success~ ) UIMenuController *theMenu =…
bluej3
  • 11
  • 1
  • 5
0
votes
2 answers

Paste from unique PasteBoard (app-specific pasteboard)

Im Saving to a unique pasteboard here: UIPasteboard *pasteboard = [UIPasteboard pasteboardWithName:@"myPasteboard" create:YES]; [pasteboard setPersistent:YES]; //save to unique pasteboard [pasteboard setString: [NSString…
JSA986
  • 5,870
  • 9
  • 45
  • 91
0
votes
3 answers

How can I get raw data of image from UIPasteboard if it's copied by another app (such as photos, safari, etc..)

Is there a way to get raw data of image from UIPasteboard instead of UIImage if it's copied by another app such as photos or mobile safari? I'm currently facing wired differences between IOS 6.0 and IOS 6.1(7.0 also) In IOS 6.0, UIPasteboard's item…
onnlv
  • 151
  • 1
  • 6
0
votes
2 answers

Determine font(s) used in uipasteboard text on the iPhone

Here is the scenerio: The user copies random text with mixed fonts. How do I determine the font(s) used? When the text is pasted from the UIPasteboard into a textview it correctly shows the mixed fonts, so I believe the information is…
user229923
0
votes
2 answers

How to get RTF contents from UIPasteboard after UIWebView copy?

I have a UIWebView showing some custom HTML content. If I tap and hold, then select some text and tap the Copy option, the text gets added to UIPasteboard with the key "com.apple.rtfd". My problem now is that I can't find any way of extracting the…
MusiGenesis
  • 74,184
  • 40
  • 190
  • 334
0
votes
1 answer

how to check NSString format from UIPasteBoard

I am allowing the user to copy a registration key from my website, the NSStirng is then saved to the clipboard and when the application opens with the registration dialog I check the clipboard right away using this code - NSString *registrationCode…
HurkNburkS
  • 5,492
  • 19
  • 100
  • 183