IOS用 saveImageToPhotosAlbum 成功了,但是相册里没有图片?
真机调试的,触发了成功的回调,但是IOS相册里面没有图片 savaImg(){
wx.getImageInfo({
src: 'pic/w2.jpg',
success (res) {
console.log(res)
console.log(res.path)
wx.saveImageToPhotosAlbum({
filePath: res.path,
success: (res) => { console.log('成功'+res)},
fail: (res) => { console.log('失败'+res)},
})
},
fail(res){
console.log('获取信息失败'+res)
}
})
}