67 lines
879 B
Markdown
67 lines
879 B
Markdown
---
|
|
id: imagepickerios
|
|
title: ImagePickerIOS
|
|
layout: docs
|
|
category: APIs
|
|
permalink: docs/imagepickerios.html
|
|
next: imagestore
|
|
previous: imageeditor
|
|
---
|
|
|
|
|
|
|
|
### Methods
|
|
|
|
- [`canRecordVideos`](docs/imagepickerios.html#canrecordvideos)
|
|
- [`canUseCamera`](docs/imagepickerios.html#canusecamera)
|
|
- [`openCameraDialog`](docs/imagepickerios.html#opencameradialog)
|
|
- [`openSelectDialog`](docs/imagepickerios.html#openselectdialog)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
# Reference
|
|
|
|
## Methods
|
|
|
|
### `canRecordVideos()`
|
|
|
|
```javascript
|
|
ImagePickerIOS.canRecordVideos(callback)
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
### `canUseCamera()`
|
|
|
|
```javascript
|
|
ImagePickerIOS.canUseCamera(callback)
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
### `openCameraDialog()`
|
|
|
|
```javascript
|
|
ImagePickerIOS.openCameraDialog(config, successCallback, cancelCallback)
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
### `openSelectDialog()`
|
|
|
|
```javascript
|
|
ImagePickerIOS.openSelectDialog(config, successCallback, cancelCallback)
|
|
```
|
|
|
|
|
|
|