Question · React Native course · Module 13: Native APIs
getAssetsAsync
How do you fetch photos from the gallery?
Answer options
- MediaLibrary.getPhotos()
- MediaLibrary.getAssetsAsync()
- MediaLibrary.photos()
- MediaLibrary.list()
You can check the correct answer by solving this task in the CodeWorlds game.