问题模块 | 框架类型 | API/组件名称 | 终端类型 | 操作系统 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|---|
API和组件 | 小程序 | chooseImage | 客户端 | iOS | 6.6.2 | 1.9.9 |
wx.chooseImage({ count: 1, sizeType: [ "original" ], sourceType: [ "album" , "camera" ], success: function (res) { let tempPath = res.tempFilePaths[0] console.log( 'tempPath:' + tempPath); console.log( 'tempSize:' + res.tempFiles[0].size); |
代码如上,当选择图片为gif时,返回的地址却是jpg的
网友回复
Abner:
有没有什么途径可以得到gif?
安卓是支持选到gif的
正一?筒:
ios 以前是支持的
Mr. ♥:
iOS 不支持 GIF