choose-image.md 749 字节
Newer Older
D
DCloud_LXH 已提交
1 2 3 4
## uni.chooseImage(options) @chooseimage

<!-- UTSAPIJSON.chooseImage.description -->

D
DCloud_LXH 已提交
5 6
<!-- UTSAPIJSON.chooseImage.compatibility -->

D
DCloud_LXH 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19
<!-- UTSAPIJSON.chooseImage.param -->

<!-- UTSAPIJSON.chooseImage.returnValue -->

<!-- UTSAPIJSON.chooseImage.tutorial -->

<!-- UTSAPIJSON.choose-image.example -->

<!-- UTSAPIJSON.general_type.name -->

<!-- UTSAPIJSON.general_type.param -->

## Tips
W
x  
wanganxp 已提交
20
* 获取手机端app是否拥有摄像头权限,请使用API [uni.getAppAuthorizeSetting](get-app-authorize-setting.md)
DCloud_Heavensoft's avatar
DCloud_Heavensoft 已提交
21 22
* app端拍照和相册选择会在应用沙盒目录的cache目录产生临时文件,位置[详见](file-system-spec.md#cache)
* app端如需主动删除临时文件,使用[uni.getFileSystemManager](get-file-system-manager.md)