Skip to main content
Version: 0.71

๐Ÿšง ImagePickerIOS

Removed. Use one of the community packages instead.


Reference

Methodsโ€‹

canRecordVideos()โ€‹

static canRecordVideos(callback)

canUseCamera()โ€‹

static canUseCamera(callback)

openCameraDialog()โ€‹

static openCameraDialog(config, successCallback, cancelCallback)

Parameters:

NameTypeRequiredDescription
configobjectNoSee below.
successCallbackfunctionNoSee below.
cancelCallbackfunctionNoSee below.

config is an object containing:

  • videoMode : An optional boolean value that defaults to false.

successCallback is an optional callback function that's invoked when the select dialog is opened successfully. It will include the following data:

  • [string, number, number]

cancelCallback is an optional callback function that's invoked when the camera dialog is canceled.


openSelectDialog()โ€‹

static openSelectDialog(config, successCallback, cancelCallback)

Parameters:

NameTypeRequiredDescription
configobjectNoSee below.
successCallbackfunctionNoSee below.
cancelCallbackfunctionNoSee below.

config is an object containing:

  • showImages : An optional boolean value that defaults to false.
  • showVideos: An optional boolean value that defaults to false.

successCallback is an optional callback function that's invoked when the select dialog is opened successfully. It will include the following data:

  • [string, number, number]

cancelCallback is an optional callback function that's invoked when the select dialog is canceled.