Top "Uipasteboard" questions

UIPasteboard is used to store different types of data into iOS clipboard.

How to copy text to clipboard/pasteboard with Swift

I'm looking for a clean example of how to copy text to iOS clipboard that can then be used/pasted …

ios swift cocoa-touch copy uipasteboard
Copy functionality in iOS by using UIPasteboard

NSString *copyStringverse = [[NSString alloc] initWithFormat:@"%@",[textview.text]]; UIPasteboard *pb = [UIPasteboard generalPasteboard]; [pb setString:copyStringverse]; I'm using above code for copying …

iphone uipasteboard
iOS - detect when user copy to clipboard - [UIPasteboard generalPasteboard]

quick easy question while using a WebView with some text in it - the user can select a snippet of …

iphone objective-c ios copy-paste uipasteboard
Sharing File Data Between Applications in Swift/iOS

I've been doing research on how to share data between applications securely. I'd like to get some info on the …

swift keychain ios-app-extension uipasteboard data-sharing
Basic iPhone pasteboard usage

I'm trying to put some plain text in the iPhone Pasteboard. The following code doesn't seem to work: UIPasteboard *pboard = […

ios cocoa-touch copy-paste uipasteboard
How to clear/empty pasteboard on viewWillDisappear

I use UIPasteboard to copy/paste text between two UITextView. Code looks like this: - (void)viewDidLoad { [super viewDidLoad]; pasteBoard = […

ios cocoa-touch uitextview uipasteboard
How to copy UIImage data to clipboard/UIPasteboard? And how do I test it?

I tried to use the following code to copy the Image data to UIPasteboard on click of the Copy item …

ios cocoa-touch copy-paste uipasteboard
Copy Image with UIPasteBoard (Swift)

I recently saw this project in which a user can tap on a GIF from a custom keyboard and they …

ios swift cocoa-touch uipasteboard
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 …

cocoa-touch uipasteboard generalpasteboard
iOS SDK getting clipboard text on application load

I would like to get the text copied to clipboard when application launching. I can use following text to get …

ios sdk uiviewcontroller uipasteboard