AlertIOS.alert()

static alert(title, message?, callbackOrButtons?, type?) Creates a popup to alert the user. See Alert. title: string -- The dialog's title. message: string -- An optional message that appears above the text input. callbackOrButtons -- This optional argument should be either a single-argument function or an array of buttons. If passed a function, it will be called when the user taps 'OK'. If passed an array of button configurations, each button should include a text key, as well as optional

AlertIOS.prompt()

static prompt(title, message?, callbackOrButtons?, type?, defaultValue?) Prompt the user to enter some text. title: string -- The dialog's title. message: string -- An optional message that appears above the text input. callbackOrButtons -- This optional argument should be either a single-argument function or an array of buttons. If passed a function, it will be called with the prompt's value when the user taps 'OK'. If passed an array of button configurations, each button should include a

ActivityIndicator#hidesWhenStopped

ioshidesWhenStopped bool Whether the indicator should hide when not animating (true by default).

ActivityIndicator#size

size enum('small', 'large') Size of the indicator. Small has a height of 20, large has a height of 36. Other sizes can be obtained using a scale transform.

Alert.alert()

static alert(title, message?, buttons?, type?)

ActivityIndicator#animating

animating bool Whether to show the indicator (true, the default) or hide it (false).

ActivityIndicator#color

color color The foreground color of the spinner (default is gray).

ActionSheetIOS.showActionSheetWithOptions()

static showActionSheetWithOptions(options, callback) Display an iOS action sheet. The options object must contain one or more of: options (array of strings) - a list of button titles (required) cancelButtonIndex (int) - index of cancel button in options destructiveButtonIndex (int) - index of destructive button in options title (string) - a title to show above the action sheet message (string) - a message to show below the title

ActionSheetIOS.showShareActionSheetWithOptions()

static showShareActionSheetWithOptions(options, failureCallback, successCallback) Display the iOS share sheet. The options object should contain one or both of message and url and can additionally have a subject or excludedActivityTypes: url (string) - a URL to share message (string) - a message to share subject (string) - a subject for the message excludedActivityTypes (array) - the activites to exclude from the ActionSheet NOTE: if url points to a local file, or is a base64-encoded uri

Accessibility

Native App Accessibility (iOS and Android) Both iOS and Android provide APIs for making apps accessible to people with disabilities. In addition, both platforms provide bundled assistive technologies, like the screen readers VoiceOver (iOS) and TalkBack (Android) for the visually impaired. Similarly, in React Native we have included APIs designed to provide developers with support for making apps more accessible. Take note, iOS and Android differ slightly in their approaches, and thus the Rea