mirror of
https://github.com/status-im/react-native.git
synced 2025-01-22 07:20:23 +00:00
9ec9567390
Differential Revision: D6261799 fbshipit-source-id: 269e151c5d136c1d508d9f2a060c0c670d0fe0f2
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)
|
|
```
|
|
|
|
|
|
|