+[UIPasteboard pasteboardWithName:create:] and +[UIPasteboard pasteboardWithUniqueName] now unique the given name to allow only those apps in the same application group to access the pasteboard. If the developer attempts to create a pasteboard with a name that already exists and they are not part of the same app suite, they will get their own unique and private pasteboard. Note that this does not affect the system provided pasteboards, general, and find.
Sample app is not able to share image on iOS 7. This PR would fix the issue.
As iOS 7 release note (https://developer.apple.com/library/ios/releasenotes/General/RN-iOSSDK-7.0/ ) says