saveImageToPhotosAlbum保存图片iphone x保存不了?
发布于 7 年前 作者 yanxiao 6261 次浏览 来自 问答

手机型号:iphone x

微信版本号:7.0.8

保存不了图片

savePost: function() {
    const that = this
    console.log('save poster')
    wx.saveImageToPhotosAlbum({
      filePath: that.data.postPath,
      success(res) {
        console.log(res)
        wx.showModal({
          content: '图片已保存到相册,赶紧晒一下吧~',
          showCancel: false,
          confirmText: '好的',
          confirmColor: '#333',
          success: function(res) {
            if (res.confirm) {
              console.log('用户点击确定');
              /* 该隐藏的隐藏 */
              that.setData({
                postPath: ''
              })
            }
          },
          fail: function(res) {
            console.log(11111)
          }
        })
      }
    })
  },
2 回复

请问具体报错信息是什么呢?

iphone 11 微信7.0.8可以 小米 5 微信7.0.8可以

目前就iphone x 不行

回到顶部