choose-image.md 742 字节
Newer Older
D
DCloud_LXH 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
## uni.chooseImage(options) @chooseimage

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

<!-- UTSAPIJSON.chooseImage.param -->

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

<!-- UTSAPIJSON.chooseImage.compatibility -->

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

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

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

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

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