ActionSheetIOS
Methods
- --
Reference
-Methods
+ActionSheetIOS
Reference
+Methods
showActionSheetWithOptions()
static showActionSheetWithOptions(options, callback)
@@ -124,7 +118,7 @@
diff --git a/docs/next/accessibilityinfo.html b/docs/next/accessibilityinfo.html index 226c48a49da..937f9698d9d 100644 --- a/docs/next/accessibilityinfo.html +++ b/docs/next/accessibilityinfo.html @@ -132,22 +132,9 @@ } } -
isBoldTextEnabledisGrayscaleEnabledisInvertColorsEnabledisReduceMotionEnabledisReduceTransparencyEnabledisScreenReaderEnabledaddEventListenersetAccessibilityFocusannounceForAccessibilityremoveEventListenerisBoldTextEnabled()static isBoldTextEnabled()
@@ -205,7 +192,7 @@
static removeEventListener(eventName, handler)
Remove an event handler.
-showActionSheetWithOptions()static showActionSheetWithOptions(options, callback)
@@ -124,7 +118,7 @@
showActionSheetWithOptions()static showActionSheetWithOptions(options, callback)
@@ -124,7 +118,7 @@
addEventListener()static addEventListener(type, handler)
@@ -111,7 +103,7 @@
This should only be called from native code by sending the didUpdateDimensions event.
@param {object} dims Simple string-keyed object of dimensions to set
-addEventListener()static addEventListener(type, handler)
@@ -111,7 +103,7 @@
This should only be called from native code by sending the didUpdateDimensions event.
@param {object} dims Simple string-keyed object of dimensions to set
-borderTopRightRadiusbackfaceVisibilityborderBottomLeftRadiusborderBottomRightRadiusborderColorborderRadiusborderTopLeftRadiusbackgroundColorborderWidthopacityoverflowresizeModetintColoroverlayColorborderTopRightRadius| string | No | Android |
borderTopRightRadiusbackfaceVisibilityborderBottomLeftRadiusborderBottomRightRadiusborderColorborderRadiusborderTopLeftRadiusbackgroundColorborderWidthopacityoverflowresizeModetintColoroverlayColorborderTopRightRadius| string | No | Android |
-Deprecated. Use @react-native-community/image-editor instead.
cropImagecropImage()static cropImage(uri, cropData, success, failure)
@@ -103,7 +99,7 @@
resizeMode: 'contain/cover/stretch',
};
--Deprecated. Use @react-native-community/image-editor instead.
cropImagecropImage()static cropImage(uri, cropData, success, failure)
@@ -103,7 +99,7 @@
resizeMode: 'contain/cover/stretch',
};
--Deprecated. Use @react-native-community/image-picker-ios instead.
canRecordVideos()static canRecordVideos(callback)
@@ -143,7 +136,7 @@
[string, number, number]cancelCallback is an optional callback function that's invoked when the select dialog is canceled.
-Deprecated. Use @react-native-community/image-picker-ios instead.
canRecordVideos()static canRecordVideos(callback)
@@ -143,7 +136,7 @@
[string, number, number]cancelCallback is an optional callback function that's invoked when the select dialog is canceled.
alignContentalignItemsalignSelfaspectRatioborderBottomWidthborderEndWidthborderLeftWidthborderRightWidthborderStartWidthborderTopWidthborderWidthbottomdirectiondisplayendflexflexBasisflexDirectionflexGrowflexShrinkflexWrapheightjustifyContentleftmarginmarginBottommarginEndmarginHorizontalmarginLeftmarginRightmarginStartmarginTopmarginVerticalmaxHeightmaxWidthminHeightminWidthoverflowpaddingpaddingBottompaddingEndpaddingHorizontalpaddingLeftpaddingRightpaddingStartpaddingToppaddingVerticalpositionrightstarttopwidthzIndexalignContentalignContent controls how rows align in the cross direction, overriding the alignContent of the parent. See https://developer.mozilla.org/en-US/docs/Web/CSS/align-content for more details.
alignContentalignItemsalignSelfaspectRatioborderBottomWidthborderEndWidthborderLeftWidthborderRightWidthborderStartWidthborderTopWidthborderWidthbottomdirectiondisplayendflexflexBasisflexDirectionflexGrowflexShrinkflexWrapheightjustifyContentleftmarginmarginBottommarginEndmarginHorizontalmarginLeftmarginRightmarginStartmarginTopmarginVerticalmaxHeightmaxWidthminHeightminWidthoverflowpaddingpaddingBottompaddingEndpaddingHorizontalpaddingLeftpaddingRightpaddingStartpaddingToppaddingVerticalpositionrightstarttopwidthzIndexalignContentalignContent controls how rows align in the cross direction, overriding the alignContent of the parent. See https://developer.mozilla.org/en-US/docs/Web/CSS/align-content for more details.
+Deprecated. Use Picker instead.
+
Inherits View Props.
itemStyle| number or string | No |
+Deprecated. Use Picker instead.
+
Inherits View Props.
itemStyle| number or string | No |
Use ProgressViewIOS to render a UIProgressView on iOS.
Uses ProgressViewIOS to render a UIProgressView on iOS.
Inherits View Props.
progressThe progress value (between 0 and 1).
| string | No |
Use ProgressViewIOS to render a UIProgressView on iOS.
Uses ProgressViewIOS to render a UIProgressView on iOS.
Inherits View Props.
progressThe progress value (between 0 and 1).
| string | No |
-Deprecated. Use @react-native-community/react-native-segmented-control instead.
Use SegmentedControlIOS to render a UISegmentedControl iOS.
Uses SegmentedControlIOS to render a UISegmentedControl iOS.
The selected index can be changed on the fly by assigning the selectedIndex prop to a state variable, then changing that variable. Note that the state variable would need to be updated as the user selects a value and changes the index, as shown in the example below.

Inherits View Props.
enabledIf false the user won't be able to interact with the control. Default value is true.
| array of string | No |
-Deprecated. Use @react-native-community/react-native-segmented-control instead.
Use SegmentedControlIOS to render a UISegmentedControl iOS.
Uses SegmentedControlIOS to render a UISegmentedControl iOS.
The selected index can be changed on the fly by assigning the selectedIndex prop to a state variable, then changing that variable. Note that the state variable would need to be updated as the user selects a value and changes the index, as shown in the example below.

Inherits View Props.
enabledIf false the user won't be able to interact with the control. Default value is true.
| array of string | No |
Settings serves as a wrapper for NSUserDefaults, a persistent key-value store available only on iOS.
clearWatchgetsetwatchKeysclearWatch()static clearWatch(watchId)
@@ -99,7 +92,7 @@
static watchKeys(keys, callback)
Subscribe to be notified when the value for any of the keys specified by the keys array changes in NSUserDefaults. Returns a watchId number that may be used with clearWatch() to unsubscribe.
Settings serves as a wrapper for NSUserDefaults, a persistent key-value store available only on iOS.
clearWatchgetsetwatchKeysclearWatch()static clearWatch(watchId)
@@ -99,7 +92,7 @@
static watchKeys(keys, callback)
Subscribe to be notified when the value for any of the keys specified by the keys array changes in NSUserDefaults. Returns a watchId number that may be used with clearWatch() to unsubscribe.
Renders a boolean input.
This is a controlled component that requires an onValueChange callback that updates the value prop in order for the component to reflect user actions. If the value prop is not updated, the component will continue to render the supplied value prop instead of the expected result of any user actions.
Inherits View Props.
disabledIf true the user won't be able to toggle the switch. Default value is false.
| bool | No |
Renders a boolean input.
This is a controlled component that requires an onValueChange callback that updates the value prop in order for the component to reflect user actions. If the value prop is not updated, the component will continue to render the supplied value prop instead of the expected result of any user actions.
Inherits View Props.
disabledIf true the user won't be able to toggle the switch. Default value is false.
| bool | No |
installReactHooksetEnabledisEnabledbeginEventendEventbeginAsyncEventendAsyncEventcounterEventinstallReactHook()static installReactHook(useFiber)
@@ -118,7 +106,7 @@
static counterEvent(profileName?, value?)
Register the value to the profileName on the systrace timeline.
-installReactHooksetEnabledisEnabledbeginEventendEventbeginAsyncEventendAsyncEventcounterEventinstallReactHook()static installReactHook(useFiber)
@@ -118,7 +106,7 @@
static counterEvent(profileName?, value?)
Register the value to the profileName on the systrace timeline.
-View style props...textShadowOffsetcolorfontSizefontStylefontWeightlineHeighttextAligntextDecorationLinetextShadowColorfontFamilytextShadowRadiusincludeFontPaddingtextAlignVerticalfontVariantletterSpacingtextDecorationColortextDecorationStyletextTransformwritingDirectiontextShadowOffset| enum('auto', 'ltr', 'rtl') | No | iOS |
View style props...textShadowOffsetcolorfontSizefontStylefontWeightlineHeighttextAligntextDecorationLinetextShadowColorfontFamilytextShadowRadiusincludeFontPaddingtextAlignVerticalfontVariantletterSpacingtextDecorationColortextDecorationStyletextTransformwritingDirectiontextShadowOffset| enum('auto', 'ltr', 'rtl') | No | iOS |
borderRightColorbackfaceVisibilityborderBottomColorborderBottomEndRadiusborderBottomLeftRadiusborderBottomRightRadiusborderBottomStartRadiusborderBottomWidthborderColorborderEndColorborderLeftColorborderLeftWidthborderRadiusbackgroundColorborderRightWidthborderStartColorborderStyleborderTopColorborderTopEndRadiusborderTopLeftRadiusborderTopRightRadiusborderTopStartRadiusborderTopWidthborderWidthopacityelevationborderRightColor| number | No | Android |
borderRightColorbackfaceVisibilityborderBottomColorborderBottomEndRadiusborderBottomLeftRadiusborderBottomRightRadiusborderBottomStartRadiusborderBottomWidthborderColorborderEndColorborderLeftColorborderLeftWidthborderRadiusbackgroundColorborderRightWidthborderStartColorborderStyleborderTopColorborderTopEndRadiusborderTopLeftRadiusborderTopRightRadiusborderTopStartRadiusborderTopWidthborderWidthopacityelevationborderRightColor| number | No | Android |