更新记录
1.0.0(2024-09-04)
支持安卓、iOS的截屏插件
平台兼容性
uni-app x
| Chrome | Safari | Android | iOS | 鸿蒙 | 微信小程序 |
|---|---|---|---|---|---|
| - | - | 5.0 | 12 | - | - |
其他
| 多语言 | 暗黑模式 | 宽屏模式 | 蒸汽模式 |
|---|---|---|---|
| × | × | × | √ |
yzc-shotscreen 兼容安卓、iOS端截屏
导入头文件
import { takeSnapshot } from '@/uni_modules/yzc-shotscreen'
调用
takeSnapshot((success: boolean, errMsg: string | null, filePath: string | null) => {
console.log(success, errMsg, filePath)
if (success) {
this.filePath = filePath!
}
})

收藏人数:
购买源码授权版(
试用
赞赏(0)
下载 286
赞赏 0
下载 12750524
赞赏 1959
赞赏
京公网安备:11010802035340号