2017-11-08 00:34:50 +00:00
---
id: vibrationios
title: VibrationIOS
layout: docs
category: APIs
permalink: docs/vibrationios.html
next: layout-props
previous: vibration
---
2017-11-09 17:47:50 +00:00
> NOTE:
> `VibrationIOS` is deprecated. Use [`Vibration`](docs/vibration.html) instead.
2017-11-08 00:34:50 +00:00
2017-11-09 17:47:50 +00:00
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.
2017-11-08 00:34:50 +00:00
2017-11-09 17:47:50 +00:00
There will be no effect on devices that do not support Vibration, eg. the iOS simulator.
2017-11-08 00:34:50 +00:00
Vibration patterns are currently unsupported.
### Methods
- [`vibrate` ](docs/vibrationios.html#vibrate )
---
# Reference
## Methods
### `vibrate()`
```javascript
2017-11-09 17:47:50 +00:00
VibrationIOS.vibrate()
2017-11-08 00:34:50 +00:00
```
2017-11-09 17:47:50 +00:00
**Deprecated.**
2017-11-08 00:34:50 +00:00