implement lime.ui.Haptic.vibrate(...) for iOS

-Basic implementation, but works-
This commit is contained in:
Federico Bricker
2016-10-22 13:47:08 -03:00
committed by Joshua Granick
parent a361b4681e
commit fe13ea21f3
5 changed files with 58 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
#ifndef LIME_UI_HAPTIC_H
#define LIME_UI_HAPTIC_H
namespace lime {
class Haptic {
public:
#ifdef IPHONE
static void Vibrate (int period, int duration);
#endif
};
}
#endif