问题
I'm working on an react native ios app where I want to look through the iPhone's downloads folder for .mp3 files that I can play. I've found a library react-native-fs but right now I am only able to see files added to my app and I can't figure out how to search for .mp3
files already on the iPhone. Any advice on libraries to use or code would be appreciated.
Code for my project: https://github.com/Laybium/laybium
回答1:
In iOS apps have access only to their sandboxes. There's no such a thing as a Downloads folder, because there's no folder all apps may share.
来源:https://stackoverflow.com/questions/40259710/how-to-search-through-iphone-filesystem-downloads-folder-for-mp3-files-in-react