I think this is more of a SDK flaw than my applications, but lately I have been trying to use a UIP archive to copy strings from my application, and it works great when you ever enter the application.
When I switch to another application by pressing the home button or something like that, I just donโt have the ability to paste the copied content.
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; [pasteboard setString: @"blah" ]; NSLog(@"%@", pasteboard.string);
In this case, it will print โblah,โ and whenever I quickly touch the text field, it will display the insert option. But if I go to Safari, Notes or Mail, this will not show me this option.
In addition, if I copy something from the mail and go to my application, I will not see the paste option ...
Thiago peres
source share