Vibrate for X time on iOS?

Hey guys,

Does anyone know the way to make the phone vibrate for a desired amount of time?
Handheld.Vibrate() doesn’t cut it as it doesn’t have a time parameter and the phone always vibrates for a set amount of time and I can’t seem to find any plugins on the asset store.

If anyone knows the plugin or any other way I could do it, I’d appreciate it.

Thanks!

void Start()
{
StartCoroutine(“vib”);
}
IEnumerator vib()
{
Handheld.Vibrate();
yield return new WaitForSeconds (.25f);
Handheld.Vibrate();
yield return new WaitForSeconds (.25f);
Handheld.Vibrate();
yield return new WaitForSeconds (.25f);
Handheld.Vibrate();
yield return new WaitForSeconds (.25f);
Handheld.Vibrate();
}

this will make your phone vibrate for 1 sec as after every .25 sec I am calling
Handheld.Vibrate();
you can also use loop instead of calling it like this if you have long time period.