I am using XCode 8 and testing with iOS 10.2 Beta.
I have added the Photos, PhotosUI and MobileCoreServices frameworks to project.
Very simple code:
You need the add the new privacy settings to you info.plist.
Don't forget to add the value describing why the app need to access the service.