diff --git a/releases/next/docs/actionsheetios.html b/releases/next/docs/actionsheetios.html index 3219eb7a3f6..b277b2f6554 100644 --- a/releases/next/docs/actionsheetios.html +++ b/releases/next/docs/actionsheetios.html @@ -2,7 +2,7 @@ of:
options (array of strings) - a list of button titles (required)cancelButtonIndex (int) - index of cancel button in optionsdestructiveButtonIndex (int) - index of destructive button in optionstitle (string) - a title to show above the action sheetmessage (string) - a message to show below the titleDisplay the iOS share sheet. The options object should contain
one or both of:
message (string) - a message to shareurl (string) - a URL to shareNOTE: if url points to a local file, or is a base64-encoded
uri, the file it points to will be loaded and shared directly.
-In this way, you can share images, videos, PDF files, etc.
Examples # | Edit on GitHub |
Examples # | Edit on GitHub |
ActivityIndicatorIOS # | Edit on GitHub |
Whether to show the indicator (true, the default) or hide it (false).
The foreground color of the spinner (default is gray).
Whether the indicator should hide when not animating (true by default).
Invoked on mount and layout changes with
{nativeEvent: { layout: {x, y, width, height}}}.
Size of the indicator. Small has a height of 20, large has a height of 36.
Examples # | Edit on GitHub |
ActivityIndicatorIOS # | Edit on GitHub |
Whether to show the indicator (true, the default) or hide it (false).
The foreground color of the spinner (default is gray).
Whether the indicator should hide when not animating (true by default).
Invoked on mount and layout changes with
{nativeEvent: { layout: {x, y, width, height}}}.
Size of the indicator. Small has a height of 20, large has a height of 36.
Examples # | Edit on GitHub |
CameraRoll # | Edit on GitHub |
CameraRoll provides access to the local camera roll / gallery.
Saves the image to the camera roll / gallery.
On Android, the tag is a local URI, such as "file:///sdcard/img.png".
On iOS, the tag can be one of the following:
Returns a Promise which when resolved will be passed the new URI.
Returns a Promise with photo identifier objects from the local camera
-roll of the device matching shape defined by getPhotosReturnChecker.
@param {object} params See getPhotosParamChecker.
Returns a Promise which when resolved will be of shape getPhotosReturnChecker.
Examples # | Edit on GitHub |
getPhotosReturnChecker.@param {object} params See getPhotosParamChecker.
Returns a Promise which when resolved will be of shape getPhotosReturnChecker.
Examples # | Edit on GitHub |
PickerIOS # | Edit on GitHub |
Examples # | Edit on GitHub |
PickerIOS # | Edit on GitHub |
Examples # | Edit on GitHub |
ProgressViewIOS # | Edit on GitHub |
Use ProgressViewIOS to render a UIProgressView on iOS.
The progress value (between 0 and 1).
A stretchable image to display as the progress bar.
The tint color of the progress bar itself.
The progress bar style.
A stretchable image to display behind the progress bar.
The tint color of the progress bar track.
Examples # | Edit on GitHub |
ProgressViewIOS # | Edit on GitHub |
Use ProgressViewIOS to render a UIProgressView on iOS.
The progress value (between 0 and 1).
A stretchable image to display as the progress bar.
The tint color of the progress bar itself.
The progress bar style.
A stretchable image to display behind the progress bar.
The tint color of the progress bar track.
Examples # | Edit on GitHub |
StatusBarIOS # | Edit on GitHub |
Deprecated. Use StatusBar instead.
Examples # | Edit on GitHub |
StatusBarIOS # | Edit on GitHub |
Deprecated. Use StatusBar instead.
Examples # | Edit on GitHub |
TabBarIOS # | Edit on GitHub |
Examples # | Edit on GitHub |
TabBarIOS # | Edit on GitHub |
Examples # | Edit on GitHub |
ToastAndroid # | Edit on GitHub |
This exposes the native ToastAndroid module as a JS module. This has a function 'show' -which takes the following parameters:
Examples # | Edit on GitHub |
Examples # | Edit on GitHub |
Vibration # | Edit on GitHub |
The Vibration API is exposed at Vibration.vibrate().
The vibration is asynchronous so this method will return immediately.
There will be no effect on devices that do not support Vibration, eg. the simulator.
Note for android
-add <uses-permission android:name="android.permission.VIBRATE"/> to AndroidManifest.xml
Vibration patterns are currently unsupported.
Examples # | Edit on GitHub |
<uses-permission android:name="android.permission.VIBRATE"/> to AndroidManifest.xmlVibration patterns are currently unsupported.
Examples # | Edit on GitHub |
VibrationIOS # | Edit on GitHub |
NOTE: VibrationIOS is being deprecated. Use Vibration instead.
The Vibration API is exposed at VibrationIOS.vibrate(). On iOS, calling this
function will trigger a one second vibration. The vibration is asynchronous
so this method will return immediately.
There will be no effect on devices that do not support Vibration, eg. the iOS -simulator.
Vibration patterns are currently unsupported.
@deprecated
Examples # | Edit on GitHub |
Vibration patterns are currently unsupported.
@deprecated
Examples # | Edit on GitHub |