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.

Methods

static vibrate()

@deprecated

Examples

'use strict';

var React = require('react');
var ReactNative = require('react-native');
var {
  StyleSheet,
  View,
  Text,
  TouchableHighlight,
  VibrationIOS
} = ReactNative;

exports.framework = 'React';
exports.title = 'VibrationIOS';
exports.description = 'Vibration API for iOS';
exports.examples = [{
  title: 'VibrationIOS.vibrate()',
  render() {
    return (
      <TouchableHighlight
        style={styles.wrapper}
        onPress={() => VibrationIOS.vibrate()}>
        <View style={styles.button}>
          <Text>Vibrate</Text>
        </View>
      </TouchableHighlight>
    );
  },
}];

var styles = StyleSheet.create({
  wrapper: {
    borderRadius: 5,
    marginBottom: 5,
  },
  button: {
    backgroundColor: '#eeeeee',
    padding: 10,
  },
});
NetInfo.removeEventListener()

static removeEventListener(eventName, handler) Removes the listener for network

2016-06-23 04:24:48
PushNotificationIOS#getData()

getData() Gets the data object on the notif

2016-06-23 04:24:58
AppState#addEventListener()

addEventListener(type, handler) Add a handler to AppState changes by listening to the change

2016-06-23 04:23:38
PushNotificationIOS.removeEventListener()

static removeEventListener(type, handler) Removes the event listener. Do

2016-06-23 04:25:01
InteractionManager.createInteractionHandle()

static createInteractionHandle() Notify manager that an interaction has started

2016-06-23 04:24:13
ToastAndroid#LONG

LONG: MemberExpression

2016-06-23 04:25:50
AppRegistry.unmountApplicationComponentAtRootTag()

static unmountApplicationComponentAtRootTag(rootTag)

2016-06-23 04:23:38
Animated.spring()

static spring(value, config) Spring animation based on Rebound and Origami

2016-06-23 04:23:35
NativeMethodsMixin.blur()

static blur() Removes focus from an input or view. This is the opposite of

2016-06-23 04:24:35