【发布时间】:2020-08-30 18:42:45
【问题描述】:
有没有办法使用 expo-media-library 从智能相册(在 iOS 上)加载资产?
我尝试按照文档中的说明加载资产(Selfies 是智能相册的名称):
const album = await MediaLibrary.getAlbumAsync('Selfies');
const response = await MediaLibrary.getAssetsAsync({ album });
但似乎这种方法仅适用于用户创建的文件夹/相册(对于智能相册,它返回所有照片的数据)
【问题讨论】:
标签: ios react-native expo