mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 03:56:03 +00:00
e11d496e9d
Summary: Follow up to 9ec95673909beac7798f589e0e9821b4225f8fa9 Closes https://github.com/facebook/react-native/pull/16759 Differential Revision: D6285219 Pulled By: hramos fbshipit-source-id: 7012d257a5a6cff06cb2d94203a9379e4b7e3c4e
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)
|
|
```
|
|
|
|
|
|
|