generalpasteboard

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 pasteboard item can have more than one representation type. That they can is clear. Update: I ...

iPhone generalPasteboard loses contents if application is closed by an -openURL: call

I have a method, that puts something on the pasteboard. This method is called one of two ways, one, as an IBAction from a button, the other from another method which afterwards closes the application by doing: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms:"]]; The problem arises only when the application is not...

get copied data from UIpasteboard

hi, 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 type data,how to read this.here is my code of retriving text. UIPasteboard* pasteboa...