mirror of
https://github.com/status-im/react-native.git
synced 2025-02-06 06:34:01 +00:00
67 lines
847 B
Markdown
67 lines
847 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
|
||
|
static canRecordVideos(callback)
|
||
|
```
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
|
||
|
### `canUseCamera()`
|
||
|
|
||
|
```javascript
|
||
|
static canUseCamera(callback)
|
||
|
```
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
|
||
|
### `openCameraDialog()`
|
||
|
|
||
|
```javascript
|
||
|
static openCameraDialog(config, successCallback, cancelCallback)
|
||
|
```
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
|
||
|
### `openSelectDialog()`
|
||
|
|
||
|
```javascript
|
||
|
static openSelectDialog(config, successCallback, cancelCallback)
|
||
|
```
|
||
|
|
||
|
|
||
|
|