问题
I would like to let users browse photos in their photo albums, tap the action button, and share/open selected photos in my app. Some apps (like Viber and WeChat) provide a custom view to handle this. This is the WeChat screen:
What is the name of this feature and which class do I have to use to achieve this behavior?
回答1:
You need to do check for share option in the ioS extensions
- app extensions
- extension programming guide
- Share extension
- Example from Tumbler developer team
回答2:
You can use UIImagePickerController for the purpose.
Find Class reference here
Here is a Sample code
来源:https://stackoverflow.com/questions/27983566/ios-open-photo-from-photo-album-in-my-app