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 = pasteboard.string;
I can get it with iPhone 4S(iOS5.1.1), iPodtouch4G(iOS6.1.3), iPad(iOS6.1.3) but I cannot with 5(iOS6.1.3). Is it iPhone5 bug? Any hint is appreciated.